Notice error escalate to exception #1749
Unanswered
tommysitehost
asked this question in
Q&A
Replies: 1 comment 1 reply
-
This is our error handler: sentry-php/src/ErrorHandler.php Lines 317 to 355 in 1ea8e3d We do convert errors to an exception to allow us to capture them. However I don't believe we leak the exception outside our own error handling and Sentry specific integration listeners. Maybe you notice something in there we mixed up? |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi all, I have a weird issue. I have added PHP Sentry SDK to my project, and it is working great. Transactions, errors are showing up in our own OSS Sentry instance.
However, I noticed that any warning or notice PHP errors are now getting caught by our exception handler after initialising Sentry (the handler didn't catch these error before we added Sentry). Not sure where to look here, any ideas? Does Sentry SDK mangle
set_error_handler
?My application is running PHP 7.4 and SDK version is 4.8.0.
Here is an example of the error:
Beta Was this translation helpful? Give feedback.
All reactions