返回 Skill 列表
extension
分类: 开发与工程无需 API Key

sentry-common-errors

执行故障排除常见的Sentry集成问题和修复。当遇到Sentry错误、缺失事件或配置问题时使用。触发短语如“sentry无法工作”、“sentry错误缺失”、“修复sentry”、“sentry故障排除”。

person作者: jakexiaohubgithub

Sentry Common Errors

Prerequisites

  • Sentry SDK installed
  • Debug mode enabled for troubleshooting
  • Access to Sentry dashboard
  • Application logs available

Instructions

  1. Enable debug mode in SDK configuration for verbose output
  2. Verify DSN is set correctly in environment variables
  3. Check beforeSend function returns event (not undefined)
  4. Review sampling rates to ensure events are not being dropped
  5. Verify source maps are uploaded with correct release version
  6. Set user context after authentication for user tracking
  7. Add ignoreErrors patterns for noisy errors to reduce volume
  8. Enable Breadcrumbs integration with appropriate options
  9. Set tracesSampleRate greater than 0 for performance monitoring
  10. Run diagnostic commands to verify connectivity and capture

Output

  • Issue root cause identified
  • Configuration fix applied
  • Error capture verified working
  • Documentation of resolution

Error Handling

See {baseDir}/references/errors.md for comprehensive error handling.

Examples

See {baseDir}/references/examples.md for detailed examples.

Resources