OpenAdapt icon indicating copy to clipboard operation
OpenAdapt copied to clipboard

[Bug]: Glitchtip broken

Open abrichr opened this issue 1 year ago • 3 comments

Describe the bug

image

To Reproduce

https://app.glitchtip.com/openadaptai/settings/projects/openadapt

abrichr avatar Oct 28 '24 02:10 abrichr

image

abrichr avatar Oct 28 '24 02:10 abrichr

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

abrichr avatar Oct 28 '24 04:10 abrichr

@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],
        )

?

abrichr avatar Nov 01 '24 18:11 abrichr