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

bugfix: Allow exception messages different than "You have not yet created the...

bugfix: Allow exception messages different than "You have not yet created the SimpleSAMLphp configuration files.".

Right now, that's the only error message that you will ever get if something goes wrong with the configuration, no matter what. The message should not be hardcoded, but use the one from the captured exception instead.
parent bd775b2b
No related branches found
No related tags found
No related merge requests found
......@@ -96,7 +96,7 @@ try {
SimpleSAML_Configuration::getInstance();
} catch (Exception $e) {
throw new \SimpleSAML\Error\CriticalConfigurationError(
'You have not yet created the SimpleSAMLphp configuration files.'
$e->getMessage()
);
}
......
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