Skip to content

Commit a5e72de

Browse files
authored
uses a real error code
1 parent 536f8c2 commit a5e72de

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/ErrorHandler.php

Lines changed: 2 additions & 2 deletions
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
}
21-
}
21+
}

0 commit comments

Comments
 (0)