Skip to content

SystemExit exception by flusher reported by monitoring tools #18

@Nnonexistent

Description

@Nnonexistent

I have a FastAPI application with both sentry and logtail. Sentry has a ThreadingIntegration, which reports all unhandled exceptions in threads. And logtail finishes flusher thread with sys.exit(0), which is then reported by sentry, which is quite annoying.

If you think it's reasonable to change this logtail behavior to just finish flusher thread silently, I could create a PR for that.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions