From 8bb8a6b6a5cc91c087460f5d84851df58dcdd677 Mon Sep 17 00:00:00 2001 From: flashwave Date: Thu, 5 Jan 2023 23:54:27 +0000 Subject: [PATCH] Removed error to exception conversion in Misuzu (handled in Index). --- misuzu.php | 5 ----- 1 file changed, 5 deletions(-) diff --git a/misuzu.php b/misuzu.php index 6367ff1..14cb038 100644 --- a/misuzu.php +++ b/misuzu.php @@ -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';