Skip to content

Commit 5083008

Browse files
committed
remove return early on phpError listener
1 parent 062e906 commit 5083008

1 file changed

Lines changed: 0 additions & 4 deletions

File tree

src/Listener/Mvc.php

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -63,10 +63,6 @@ public function attach(EventManagerInterface $events, $priority = 1)
6363
*/
6464
public function phpError(Event $e)
6565
{
66-
if ($this->errorHeroModuleConfig['display-settings']['display_errors']) {
67-
return;
68-
}
69-
7066
register_shutdown_function([$this, 'execOnShutdown']);
7167
set_error_handler([$this, 'phpErrorHandler']);
7268
}

0 commit comments

Comments
 (0)