diff --git a/src/EventSubscriber/RedirectSubscriber.php b/src/EventSubscriber/RedirectSubscriber.php
index 4a5587a..6c059da 100644
--- a/src/EventSubscriber/RedirectSubscriber.php
+++ b/src/EventSubscriber/RedirectSubscriber.php
@@ -113,8 +113,8 @@ class RedirectSubscriber implements EventSubscriberInterface {
    *   The event to process.
    */
   public function exceptionRedirect(ExceptionEvent $event) {
-    $exception = $event->getException();
-    if ($exception instanceof HttpExceptionInterface && $event->getException()
+    $exception = $event->getThrowable();
+    if ($exception instanceof HttpExceptionInterface && $event->getThrowable()
       ->getStatusCode() === 403) {
       $this->doRedirect($event);
     }