sentry
sc_crawler.sentry
#
Functions:
| Name | Description |
|---|---|
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. |
before_send
#
Do not report intended shutdown errors to sentry.
Source code in sc_crawler/sentry.py
sentry_capture_or_raise
#
Capture exception with Sentry and continue if configured, otherwise re-raise.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
vendor
|
Vendor
|
Vendor to use for logging and progress bar updates. |
required |
on_error
|
Optional[Callable]
|
Optional zero-argument callable, invoked before capturing or re-raising (e.g. for logging or state updates). |
None
|