error.php: fucking log the exceptions

This commit is contained in:
Zankaria 2024-07-13 11:20:22 +02:00
parent 4e7f53216d
commit 5a805fefae

View file

@ -9,6 +9,7 @@ function error_handler($errno, $errstr, $errfile, $errline) {
}
function exception_handler($e) {
error_log($e);
error($e->getMessage());
}