diff --git a/src/MonologErrorHandler.php b/src/MonologErrorHandler.php index d1dea13..82caf13 100644 --- a/src/MonologErrorHandler.php +++ b/src/MonologErrorHandler.php @@ -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(); } /**