Skip to content

Duplicated errors when using ErrorTracker #38

@rockneurotiko

Description

@rockneurotiko

When using the common setup of tower + tower_error_tracker + error_tracker, oban errors are duplicated.

The reason is that Tower starts automatically the ObanExceptionHandler: https://github.com/mimiquate/tower/blob/b4629c8be553b88e8ef3e26a13a93f37796125f3/lib/tower.ex#L266

And ErrorTracker starts the Oban integration automatically too: https://github.com/elixir-error-tracker/error-tracker/blob/main/lib/error_tracker/application.ex#L15

This is a problem, and since both are started automatically there is no way to prevent it.

I think that it would be great to give the users the ability to optionally exclude the attachs done at the start, to give them the ability to decide how to collect this information.

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