stayallive / wp-sentry

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

Support for Multisite? #102

Closed jordantrizz closed 2 years ago

jordantrizz commented 2 years ago

I've installed your plugin on a multisite instance and network activated the plugin. I don't seem to be getting errors in sentry.io

stayallive commented 2 years ago

Are you sure you are supposed to get errors? Since it's possible everything just works 😊

jordantrizz commented 2 years ago

I thought the same. But I just sent a test via the plugin and nothing showed up at sentry.io :(

stayallive commented 2 years ago

Okay, is the test page giving you some random looking event ID and a success message?

Have you also checked if you are not over your quota on sentry.io which will also result in no events coming through?

jordantrizz commented 2 years ago

Figured it out. Was due to an outdated ca-certificates package from 2018, once updated things worked. However there were no errors from PHP

stayallive commented 2 years ago

Yes, because Sentry is capturing errors we are not throwing them by design and sometimes some transport errors fall between the cracks. Happy you got it figured out!