Skip to content

Only retry some webext-messenger errors #325

@fregante

Description

@fregante

I think only specific errors should cause retries, and I think those are "target not found". Anything else should likely not be retried.

For example for https://github.com/pixiebrix/pixiebrix-source/issues/1677 I see the messenger retrying even though the error is expected to always fail.

Uncaught MessengerError: Conflict: The message GET_MANIFEST was handled by a third-party listener
    at pRetry.minTimeout (<anonymous>:958:16)
    at async RetryOperation._fn (<anonymous>:588:21)

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions