Set error handler to handle fewer errors

This commit is contained in:
Timothy Warren 2012-05-15 14:13:10 -04:00
parent 827dcd69da
commit 9cb0406f28
1 changed files with 1 additions and 1 deletions

View File

@ -93,7 +93,7 @@ function exception_error_handler($errno, $errstr, $errfile, $errline)
// Do this after the two compatibility checks for cleaner output
// Note that this will throw exceptions on notices
set_error_handler("exception_error_handler", -1);
set_error_handler("exception_error_handler", E_ERROR | E_WARNING | E_NOTICE);
// --------------------------------------------------------------------------