Skip to content
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

feat(plugins): for signallling error handling #58

Open
pekasen opened this issue May 25, 2023 · 0 comments
Open

feat(plugins): for signallling error handling #58

pekasen opened this issue May 25, 2023 · 0 comments

Comments

@pekasen
Copy link
Member

pekasen commented May 25, 2023

Right now, plugins are not expected to raise Exceptions. But in case of a process, e.g. retrieval of API information, fails it is unknown to ponyexpress. Thus, for better handling we should introduce at least two different exception classes, one for a recoverable error (e.g. for signalling that a retry should be scheduled) and one for terminating the task entirely (setting the failed state for a task).

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

No branches or pull requests

1 participant