diff --git a/www/_include.php b/www/_include.php index 4772fbb471668a94e09318615ec71b3baf72ee1a..3b8e056c93b96be7d06a28ee7afefc8529fa9b16 100644 --- a/www/_include.php +++ b/www/_include.php @@ -37,6 +37,8 @@ SimpleSAML_Error_Assertion::installHandler(); // show error page on unhandled exceptions function SimpleSAML_exception_handler(Exception $exception) { + SimpleSAML\Module::callHooks('exception_handler', $exception); + if ($exception instanceof SimpleSAML_Error_Error) { $exception->show(); } else {