-
Notifications
You must be signed in to change notification settings - Fork 184
Closed
Milestone
Description
Environment
How do you use Sentry?
Sentry SaaS (sentry.io)
Steps to Reproduce
- Migrate from "sentry/sentry-symfony:4.0" to "sentry/sentry-symfony:4.1"
- Env is prod (and debug is false)
- Monolog enabled
- Generate a 500 error
Expected Result
This should display my custom error page (templates/bundles/TwigBundle/Exception/error.html.twig)
Actual Result
The displayed error is the generic one :

It seems that TwigErrorRenderer is not called anymore.
404 errors are not concerned, the custom error page (templates/bundles/TwigBundle/Exception/error404.html.twig) is correctly displayed (as it was before on "sentry/sentry-symfony:4.0").
Here is my configuration :
prod/sentry.yml
sentry:
dsn: "%sentry.dsn%"
options:
environment: "%kernel.environment%"
send_default_pii: trueMetadata
Metadata
Assignees
Labels
No labels