We'll create fresh WordPress site with Ferret installed. You have 20 minutes to test the plugin after that site we'll be deleted.
Ferret is a simple wrapper for the Sentry PHP and JavaScript SDKs. It will catch all PHP errors, as well as JavaScript errors if the option is switched on. It utilizes the legacy PHP library by Sentry intentionally, in an effort to maximize compatibility. The newest SDK requires PHP^7.1 whereas the legacy requires minimum of 5.6
There are four settings that you can adjust.
DSN
– Your DSN key, this is requiredProject ID
– The project key, this is also requiredEnable JavaScript Logging
– Enable logging of JavaScript errorsIgnore WP Core Errors
– Prevent sending events to Sentry that originate from WordPress core (wp-admin, wp-includes)Debug Environment
– Switch the Sentry environment to Debug
, turning this off puts the environment to Production
All three are accessible on the plugin settings page located in the Settings -> Ferret Settings
page.
In the future we will add the ability to selectively ignore specific themes or plugins in a convenient way. We would also like to expose an internal API that can be used by other plugins/themes to capture errors or add context.