Skip to content

Implement user-defined error handler mechanism #339

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
jpsamaroo opened this issue Apr 8, 2022 · 0 comments
Open

Implement user-defined error handler mechanism #339

jpsamaroo opened this issue Apr 8, 2022 · 0 comments

Comments

@jpsamaroo
Copy link
Member

We could provide an option to let users define an error handler function which will handle all kinds of task failures (which may necessitate propagating more richly-annotated information on error source/reason). If this could be defined as a regular scheduler option (e.g. settable with with_options), it might alleviate questions about retries for failed operations.

This should also not be specific to errors from user task code - this should generalize to errors coming from basically anywhere in Dagger, including the storage system in #289 , the fault handler, etc.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant