Skip to content

Refactor: Defer error logging until after all send retries are exhausted #515

@xjaner

Description

@xjaner

Whenever the Consumer fails to upload the events in the queue to the Segment backend, an error is logged:

I think that this line should be replaced with a warning message and defer the error logging until all send retries are exhausted.
Otherwise, it might seem that some events were definitely lost when that's not the case.

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