Removed error to exception conversion in Misuzu (handled in Index).

This commit is contained in:
flash 2023-01-05 23:54:27 +00:00
parent a311de6acf
commit 8bb8a6b6a5

View file

@ -53,11 +53,6 @@ set_exception_handler(function(\Throwable $ex) {
exit;
});
set_error_handler(function(int $errno, string $errstr, string $errfile, int $errline) {
throw new \ErrorException($errstr, 0, $errno, $errfile, $errline);
return true;
}, -1);
require_once 'vendor/autoload.php';
require_once 'utility.php';