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

Always mark custom tasks as complete even if they throw exception in run() #2313

Closed
wants to merge 1 commit into from

Conversation

eogren
Copy link
Contributor

@eogren eogren commented Mar 23, 2018

If a custom task throws an exception in the run() method, it was not getting marked as complete which would result in the job hanging. Change the task wrapper to mark tasks complete in a finally block.

@eogren
Copy link
Contributor Author

eogren commented Mar 23, 2018

@ibuenros Can you take a look?

…getting marked as complete which would result in the job hanging. Change the task wrapper to mark tasks complete in a finally block.
Copy link
Contributor

@ibuenros ibuenros left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

+1

@asfgit asfgit closed this in 54bda27 Mar 27, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants