-
-
Notifications
You must be signed in to change notification settings - Fork 451
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Revert ignoring fatal errors on PHP 7+ #571
Conversation
fwiw the core client should handle double reporting when it can (I think it does/did?). No reason to re-write the same thing. |
@dcramer that kind of stuff is requested in #563. The kind of duplication that I'm talking about here is different, is due to third party integrations, and the scenario is like:
In this way the error is reported twice, once as an error, once as a |
@Jean85 ah nevermind then - agreed. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍
With this I think it's time to release 1.8.4... @stayallive what do you think? We need to update the changelog too! |
Another bug I'd suggest looking at re: fatal errors is #391 - I pushed some code that can fix the bug, or perhaps some other refactoring is desired |
This PR attempts to fix #552 allowing all fatals to be captured, with no exception anymore. This is because further investigations lead to discover that the issues in double or loop reporting of fatals where due to a bug on Symfony: see the issue symfony/symfony#26438 and the fix symfony/symfony#26568.
Eventual double reporting should be not fixed here in the client, but on the native integrations, like in the Symfony Bundle.
This PR also adds a regression test with a PHPT test, which could be run with PHPUnit with no issues.