Skip to content

Commit

Permalink
execute registerErrorHandler for init errorLevelMap field
Browse files Browse the repository at this point in the history
  • Loading branch information
Ilya Burtsev committed Mar 6, 2017
1 parent 1d55738 commit 48b8580
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/MonologErrorHandler.php
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,9 @@ public function init()
parent::init();
$logger = Registry::getInstance($this->loggerName);
$this->errorHandler = new ErrorHandler($logger);

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

/**
Expand Down

0 comments on commit 48b8580

Please sign in to comment.