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 switche …
评级
最后更新
March 16, 2020
版本
2.1.0
活跃安装
10

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.

  • The DSN – Your DSN key, this is required
  • Project ID – The project key, this is also required
  • Enable JavaScript Logging – Enable logging of JavaScript errors
  • Ignore 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.

免费使用Creator套餐
活跃安装
10
目前已测试版本
5.3.18
此插件可供下载,可用于您的 WordPress 自托管安装。