diff --git a/src/Whoops/Run.php b/src/Whoops/Run.php index d4924be5..472da92b 100644 --- a/src/Whoops/Run.php +++ b/src/Whoops/Run.php @@ -453,6 +453,12 @@ public function handleError($level, $message, $file = null, $line = null) if ($pathMatches && $levelMatches) { // Ignore the error, abort handling // See https://github.com/filp/whoops/issues/418 + + // redefine ignore to process handlers but not throw + // this allows to tmp silently log deprecated errors + $exception = new ErrorException($message, /*code*/ $level, /*severity*/ $level, $file, $line); + $this->handleException($exception); + return true; } }