Skip to content

Commit

Permalink
Merge pull request #196
Browse files Browse the repository at this point in the history
dev
  • Loading branch information
leonardosahon authored Oct 31, 2024
2 parents 8662bff + 0552c39 commit 4e62e9b
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/Core/CoreException.php
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,9 @@ class CoreException

public function capture_errors(bool $turn_warning_to_errors = false) : void
{
if(defined('LAST_LINE_DEFENCE'))
return;

set_error_handler(function (int $err_no, string $err_str, string $err_file, int $err_line) use ($turn_warning_to_errors)
{
if(error_reporting() != E_ALL)
Expand Down

0 comments on commit 4e62e9b

Please sign in to comment.