sentry-symfony: No proper error page in case of fatal error when this bundle is activated

Hi!

I’m having a small problem with this bundle:

When I activate it, Symfony doesn’t handle PHP fatal errors anymore.

Let’s say I have a $this->nonExistingMethod(); in one of my controller. Without this bundle, in prod env, Symfony displays a “pretty” HTML error page.

With this bundle, I get this instead:

error 500

My env is: PHP 7.1 Symfony v3.3.10 sentry/sentry-symfony 0.8.6

About this issue

  • Original URL
  • State: closed
  • Created 7 years ago
  • Reactions: 4
  • Comments: 15 (1 by maintainers)

Commits related to this issue

Most upvoted comments

Ok, so it’s the usage of trigger_error. Can you report this as a separate issue?

I was able to reproduce it on our prod env, sorry for the issue 😦 I’ll try to debug it…