Skip to content

Add configurable custom exception handlers for unhandled errors #389

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

moznion
Copy link

@moznion moznion commented May 20, 2025

This change allows users to customize how Async handles unhandled exceptions—for example, by logging them to a different destination, adding custom metadata, or forwarding them to an error monitoring service.

In my case, I’m trying to introduce this library into our production services. Currently, one of the main hurdles is the difficulty of monitoring unhandled exceptions. The motivation behind this change is to enable sending those exceptions to the error tracker like Sentry.

Types of Changes

  • New feature.

Contribution

This allows the users to customize how Async deals with unhandled exceptions,
such as logging them to a different destination, adding custom metadata,
or sending them to an error monitoring service.

Signed-off-by: moznion <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant