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

Is this plugin compatible with WordPress multisite? #176

Closed andre-arc closed 3 months ago

andre-arc commented 6 months ago

hello, im using wordpress multisite that contain total 50 websites. i want to monitor these websites using the plugin. when i see the installation docs. i cant find instructions for wordpress multisite

stayallive commented 6 months ago

Yes. You can install this network wide no problem. Is there something specific I should mention in the docs you think?

andre-arc commented 6 months ago

how to send dummy error to sentry using this plugin ? because when i on purpose make php errors like removing semicolon on source code nothing error is send to sentry server. bun for js browser trace performance is work fine

stayallive commented 6 months ago

Under the tools section of either the network admin (if you've network activated it) or on the site you've activated it you can find a "Sentry" page where you can fire of test events.

The reason your error might not be caught is because that error occurs before the plugin is loaded, see: https://github.com/stayallive/wp-sentry?tab=readme-ov-file#loading-sentry-before-wordpress.

stayallive commented 3 months ago

I am closing this issue because of inactivity, if there is still an issue please re-open / open a new issue so we can investigate 👍