Skip to content
This repository was archived by the owner on Jun 23, 2023. It is now read-only.
This repository was archived by the owner on Jun 23, 2023. It is now read-only.

Recover panic from consumer goroutines #34

@asdine

Description

@asdine

When a handler panics we need to recover and retry to prevent the service to crash.

  • recover
  • log on Error level
  • retry after the retry delay

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