Skip to content

Commit

Permalink
handle excluded php error
Browse files Browse the repository at this point in the history
  • Loading branch information
samsonasik committed Nov 9, 2016
1 parent 7004e1f commit e00ebbd
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions src/Listener/Mvc.php
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,13 @@ public function execOnShutdown()
*/
public function phpErrorHandler($errorType, $errorMessage, $errorFile, $errorLine)
{
$errorTypeString = $this->errorType[$errorType];
if(! $errorLine ||
in_array($this->errorHeroModuleConfig['options']['exclude-php-errors'], array_keys($this->errorType))
) {
return;
}


}
}

0 comments on commit e00ebbd

Please sign in to comment.