diff --git a/src/Framework/Environment.php b/src/Framework/Environment.php index a7631421..97e941af 100644 --- a/src/Framework/Environment.php +++ b/src/Framework/Environment.php @@ -109,7 +109,7 @@ public static function setupErrors(): void ini_set('html_errors', '0'); ini_set('log_errors', '0'); -// set_exception_handler([self::class, 'handleException']); + set_exception_handler([Environment::class, 'handleException']); set_error_handler([Environment::class, 'foo']); @@ -161,8 +161,8 @@ public static function setupFunctions(): void public static function handleException(\Throwable $e): void { self::$checkAssertions = false; - self::print(Dumper::dumpException($e)); - self::exit($e instanceof AssertException ? Runner\Job::CodeFail : Runner\Job::CodeError); +// self::print(Dumper::dumpException($e)); +// self::exit($e instanceof AssertException ? Runner\Job::CodeFail : Runner\Job::CodeError); }