Loading src/EventSubscriber/WebformDefaultExceptionHtmlSubscriber.php +1 −1 Changes for src/EventSubscriber/WebformDefaultExceptionHtmlSubscriber.php: 1 added line, 1 removed line. Original line number Diff line number Diff line Loading @@ -263,7 +263,7 @@ class WebformDefaultExceptionHtmlSubscriber extends DefaultExceptionHtmlSubscrib public function onException(ExceptionEvent $event) { // Only handle 403 exception. // @see \Drupal\webform\EventSubscriber\WebformExceptionHtmlSubscriber::on403 $exception = $event->getException(); $exception = $event->getThrowable(); if ($exception instanceof HttpExceptionInterface && $exception->getStatusCode() === 403) { parent::onException($event); } Loading Loading
src/EventSubscriber/WebformDefaultExceptionHtmlSubscriber.php +1 −1 Changes for src/EventSubscriber/WebformDefaultExceptionHtmlSubscriber.php: 1 added line, 1 removed line. Original line number Diff line number Diff line Loading @@ -263,7 +263,7 @@ class WebformDefaultExceptionHtmlSubscriber extends DefaultExceptionHtmlSubscrib public function onException(ExceptionEvent $event) { // Only handle 403 exception. // @see \Drupal\webform\EventSubscriber\WebformExceptionHtmlSubscriber::on403 $exception = $event->getException(); $exception = $event->getThrowable(); if ($exception instanceof HttpExceptionInterface && $exception->getStatusCode() === 403) { parent::onException($event); } Loading