Skip to content

Commit

Permalink
x
Browse files Browse the repository at this point in the history
  • Loading branch information
dg committed Dec 5, 2023
1 parent 5e95a2c commit 7aa1f48
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/Framework/Environment.php
Original file line number Diff line number Diff line change
Expand Up @@ -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']);

Expand Down Expand Up @@ -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);
}


Expand Down

0 comments on commit 7aa1f48

Please sign in to comment.