Skip to content

Commit 7aa1f48

Browse files
committed
x
1 parent 5e95a2c commit 7aa1f48

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/Framework/Environment.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ public static function setupErrors(): void
109109
ini_set('html_errors', '0');
110110
ini_set('log_errors', '0');
111111

112-
// set_exception_handler([self::class, 'handleException']);
112+
set_exception_handler([Environment::class, 'handleException']);
113113

114114
set_error_handler([Environment::class, 'foo']);
115115

@@ -161,8 +161,8 @@ public static function setupFunctions(): void
161161
public static function handleException(\Throwable $e): void
162162
{
163163
self::$checkAssertions = false;
164-
self::print(Dumper::dumpException($e));
165-
self::exit($e instanceof AssertException ? Runner\Job::CodeFail : Runner\Job::CodeError);
164+
// self::print(Dumper::dumpException($e));
165+
// self::exit($e instanceof AssertException ? Runner\Job::CodeFail : Runner\Job::CodeError);
166166
}
167167

168168

0 commit comments

Comments
 (0)