diff --git a/www/_include.php b/www/_include.php index fe7f58f12d6f0e092a050c2b37e298661eca6eb6..3905c218dae7849c034fb8e1f3ce31523924dcb2 100644 --- a/www/_include.php +++ b/www/_include.php @@ -27,9 +27,7 @@ function SimpleSAML_exception_handler(Exception $exception) { $e = new SimpleSAML_Error_Error('UNHANDLEDEXCEPTION', $exception); $e->show(); } -/* Disabled; see issue #176. - * set_exception_handler('SimpleSAML_exception_handler'); - */ +set_exception_handler('SimpleSAML_exception_handler'); /* Log full backtrace on errors and warnings. */ function SimpleSAML_error_handler($errno, $errstr, $errfile = NULL, $errline = 0, $errcontext = NULL) { @@ -48,9 +46,7 @@ function SimpleSAML_error_handler($errno, $errstr, $errfile = NULL, $errline = 0 /* Resume normal error processing. */ return FALSE; } -/* Disabled; see issue #176. - * set_error_handler('SimpleSAML_error_handler'); - */ +set_error_handler('SimpleSAML_error_handler'); $path_extra = dirname(dirname(__FILE__)) . '/lib';