Skip to content
Snippets Groups Projects
Commit 998a5f57 authored by Olav Morken's avatar Olav Morken
Browse files

Reenable exception and error handler.

git-svn-id: https://simplesamlphp.googlecode.com/svn/trunk@1643 44740490-163a-0410-bde0-09ae8108e29a
parent 3c6f74ba
No related branches found
No related tags found
No related merge requests found
......@@ -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';
......
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