We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent baf87a5 commit 6787e2aCopy full SHA for 6787e2a
EventListener/ExceptionListener.php
@@ -21,7 +21,7 @@ public function __construct(UrlGeneratorInterface $urlGenerator)
21
22
public function onKernelException(GetResponseForExceptionEvent $event)
23
{
24
- $exception = $event->getException();
+ $exception = $event->getThrowable();
25
26
if ($exception instanceof IdentityProviderException) {
27
$event->setResponse(new RedirectResponse(
0 commit comments