stayallive / wp-sentry

A (unofficial) WordPress plugin reporting PHP and JavaScript errors to Sentry.
https://wordpress.org/plugins/wp-sentry-integration/
MIT License
300 stars 48 forks source link

Plugin can't handle Sentry being unreachable #142

Closed delellisgabriel closed 1 year ago

delellisgabriel commented 1 year ago

Hi Alex, my team has been using your plugin in our WP and everything was fine until Sentry went down. This happened to us 6 months ago on Version 4.15.0 and we had to disable the plugin because it unfortunately couldn't handle sentry being unreachable.

I was checking your releases to see if this has been fixed but I don't see it being mentioned in any of the releases. Could you provide me with information about this issue? was it resolved or you guys were unaware of it?

Thanks!

stayallive commented 1 year ago

This was addressed in the base PHP SDK in May: https://github.com/getsentry/sentry-php/releases/tag/3.5.0

We reduced the timeouts and retries, it will still have impact but nothing like what happended ~6 months ago.

So if you are on the latest version of the WordPress plugin you already have this code running 👍

Hope that answers the question!

delellisgabriel commented 1 year ago

yes this answers my question. @stayallive Thank you!