Skip to content

Commit

Permalink
Ignore shut up operator (@) in error handler.
Browse files Browse the repository at this point in the history
  • Loading branch information
mloberg committed Mar 24, 2012
1 parent 8670b46 commit 09ac49c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions bootstrap.php
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,7 @@
});

set_error_handler(function($number, $error, $file, $line){
if(error_reporting() === 0) return;
\TFD\Exception\Handler::make(new \ErrorException($error, $number, 0, $file, $line))->handle();
}, E_ALL ^ E_NOTICE);

Expand Down

0 comments on commit 09ac49c

Please sign in to comment.