Skip to content
Snippets Groups Projects
Commit fcdfca7d authored by Jaime Pérez's avatar Jaime Pérez
Browse files

bugfix: $langPath won't be defined if an exception is thrown by the method...

bugfix: $langPath won't be defined if an exception is thrown by the method where we get its value from.
parent d072121b
No related branches found
No related tags found
No related merge requests found
......@@ -181,7 +181,7 @@ class Localization
try {
$langPath = $this->getLangPath($domain);
} catch (\Exception $e) {
$error = "Something wrong with path '$langPath', cannot load domain '$domain'";
$error = "Something went wrong when trying to get path to language file, cannot load domain '$domain'.";
\SimpleSAML\Logger::error($_SERVER['PHP_SELF'].' - '.$error);
if ($catchException) {
// bail out!
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment