Merge pull request #5939 from christianbeeznest/fixes-updates56

Internal: Fix: Show Symfony debug panel in dev mode for legacy pages.
pull/5832/head
christianbeeznest 10 months ago committed by GitHub
commit 0c6bcd5125
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
  1. 2
      src/CoreBundle/EventListener/ExceptionListener.php

@ -51,7 +51,7 @@ class ExceptionListener
}
if (isset($_SERVER['APP_ENV']) && \in_array($_SERVER['APP_ENV'], ['dev', 'test'], true)) {
return;
throw $exception;
}
$message = $this->twig->render(

Loading…
Cancel
Save