forked from leftypol/leftypol
error.php: fucking log the exceptions
This commit is contained in:
parent
4e7f53216d
commit
5a805fefae
1 changed files with 1 additions and 0 deletions
|
@ -9,6 +9,7 @@ function error_handler($errno, $errstr, $errfile, $errline) {
|
|||
}
|
||||
|
||||
function exception_handler($e) {
|
||||
error_log($e);
|
||||
error($e->getMessage());
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue