Skip to content

Library does networks requests on the main thread and errors aren't handled #125

Open
@tadas-subonis

Description

@tadas-subonis

If the call .add_event() fails due to the connectivity issues to your servers or some other reason, it will throw an exception that will kill the thread that called it.

This is something you want to avoid for a tracking library - I want my services to still work even if your servers are down or unreachable to some other reason.

Now, I have to rely on using a ThreadPoolExecutor with try ... except that catches all exceptions and does logging.

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