Open abrichr opened 1 month ago
From @0dm on Discord:
ok so removing the @logger.catch in replay(...) lets the error reporter do its thing, but i get an error related to QT because of the before_send_event function. removing it allows sentry to work
@0dm:
needs to be configured to only report issues instead of performance metrics
e.g.
def configure_error_reporting() -> None:
...
if is_reporting_branch:
sentry_sdk.init(
dsn=config.ERROR_REPORTING_DSN,
# Disable performance events
# TODO: make configurable
traces_sample_rate=0.0,
before_send=before_send_event,
ignore_errors=[KeyboardInterrupt],
)
?
Describe the bug
To Reproduce
https://app.glitchtip.com/openadaptai/settings/projects/openadapt