sc_crawler.sentry
Report errors to Sentry when the SENTRY_DSN environment variable is set.
Functions:
- before_send – Do not report intended shutdown errors to sentry.
- sentry_capture_or_raise – Capture exception with Sentry and continue if configured, otherwise re-raise.
func before_send sentry.py:14–28
before_send(event, hint)
Do not report intended shutdown errors to sentry.
func sentry_capture_or_raise sentry.py:31–60
sentry_capture_or_raise(vendor, on_error=None)
Capture exception with Sentry and continue if configured, otherwise re-raise.
Parameters: