We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 0fb7cd2 + 9f7bf79 commit 4050eb3Copy full SHA for 4050eb3
src/Listener/RenderErrorListener.php
@@ -64,7 +64,7 @@ public function onRenderError(MvcEvent $e)
64
$details = false;
65
66
$exception = $e->getParam('exception');
67
- if ($exception instanceof \Exception
+ if (($exception instanceof \Exception || $exception instanceof \Throwable)
68
&& ! $exception instanceof ViewExceptionInterface
69
) {
70
$code = $exception->getCode();
0 commit comments