Skip to content

Commit

Permalink
Update MonologErrorHandler.php
Browse files Browse the repository at this point in the history
handleError coused an infinite loop
duplicated registration
  • Loading branch information
papppeter committed Jul 13, 2023
1 parent 1e39d67 commit e15c740
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/MonologErrorHandler.php
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ public function init()
$logger = Registry::getInstance($this->loggerName);
$this->errorHandler = new ErrorHandler($logger);

$this->errorHandler->registerErrorHandler();
// $this->errorHandler->registerErrorHandler();
$this->errorHandler->registerExceptionHandler();
}

Expand Down

0 comments on commit e15c740

Please sign in to comment.