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

Wrap every call to a user-overridable function in jobtypes in a try block #55

Open
guidow opened this issue May 22, 2014 · 1 comment
Open

Comments

@guidow
Copy link
Contributor

guidow commented May 22, 2014

User-overridable functions in jobtypes may fail for various reasons. Wrap all calls to them in a try-block, so failures can be caught and dealt with appropriately.

@opalmer
Copy link
Member

opalmer commented May 27, 2014

This is something I've been considering in the back of my head for a while now, thanks for opening up an issue. In general this should be decently easy to support so long as we can associate an unhandled exception with a task so we can post the error to the task itself. That should be fine though since we'll be inside of a job type which should have access to that information.

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

2 participants