How to catch error_log() errors
-
I’ve double checked if my PHP integration is working properly, and I am successfully receiving PHP test error events in Sentry.
However, it seems that PHP errors that are written to the Apache error log from my WordPress plugin with
error_log()
are not received in Sentry.Am I correct in assuming that
error_log()
is not picked up by the Sentry integration plugin?And if not, how can I make sure application errors will be picked up by the Sentry integration plugin?
Cheers!
PS I have ‘WP_DEBUG’ set to true, ‘WP_DEBUG_DISPLAY’ set to false, and I’m not using ‘WP_DEBUG_LOG’ in favor of the default Apache logs.
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
- The topic ‘How to catch error_log() errors’ is closed to new replies.