Skip to content

Commit 13f7c49

Browse files
committed
better error code
1 parent 536f8c2 commit 13f7c49

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/ErrorHandler.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,6 @@ class ErrorHandler {
1616
*/
1717
function __invoke(){
1818
list($errno, $errstr, $errfile, $errline) = func_get_args();
19-
throw new \ErrorException($errstr, 90053, $errno, $errfile, $errline);
19+
throw new \ErrorException($errstr, 500, $errno, $errfile, $errline);
2020
}
2121
}

0 commit comments

Comments
 (0)