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 16afdf9 commit c2586d8
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/Framework/Environment.php
Original file line number Diff line number Diff line change
Expand Up @@ -116,11 +116,12 @@ public static function setupErrors(): void
in_array($severity, [E_RECOVERABLE_ERROR, E_USER_ERROR], true)
|| ($severity & error_reporting()) === $severity
) {
self::handleException(new \ErrorException($message, 0, $severity, $file, $line));
// self::handleException(new \ErrorException($message, 0, $severity, $file, $line));
}

return false;
});

/*
register_shutdown_function(static function (): void {
Assert::$onFailure = [self::class, 'handleException'];
Expand Down

0 comments on commit c2586d8

Please sign in to comment.