plugin-icon

Ferret

作者:Leap Spark·
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 …
版本
2.1.0
活跃安装
10
最后更新
Mar 16, 2020

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.

免费基于付费套餐
通过安装,您同意 WordPress.com 服务条款第三方插件条款
目前已测试版本
WordPress 5.3.21
这个插件是可用的下载,适用于您的站点。