Skip to content

Commit

Permalink
Merge pull request #5939 from christianbeeznest/fixes-updates56
Browse files Browse the repository at this point in the history
Internal: Fix: Show Symfony debug panel in dev mode for legacy pages.
  • Loading branch information
christianbeeznest authored Nov 21, 2024
2 parents e79da10 + 27001a8 commit 0c6bcd5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/CoreBundle/EventListener/ExceptionListener.php
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ public function __invoke(ExceptionEvent $event): void
}

if (isset($_SERVER['APP_ENV']) && \in_array($_SERVER['APP_ENV'], ['dev', 'test'], true)) {
return;
throw $exception;
}

$message = $this->twig->render(
Expand Down

0 comments on commit 0c6bcd5

Please sign in to comment.