From 3d80866b5e5118b7789e76565d99467f8bc00e09 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jaime=20Pe=CC=81rez?= <jaime.perez@uninett.no> Date: Mon, 3 Oct 2016 16:06:55 +0200 Subject: [PATCH] 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. --- www/_include.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/www/_include.php b/www/_include.php index 22972aff4..d8117ee18 100644 --- a/www/_include.php +++ b/www/_include.php @@ -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() ); } -- GitLab