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

If a hook throws an exception, onThreadStart called but onThreadComplete not #771

Closed
mattrjacobs opened this issue Apr 28, 2015 · 3 comments

Comments

@mattrjacobs
Copy link
Contributor

No description provided.

@mattrjacobs
Copy link
Contributor Author

Fixed by #772

@mattrjacobs
Copy link
Contributor Author

The fix I made yesterday handles hook errors effectively, but it also prevents hooks from generating an exception that prevents execution of a command.

This limits the set of functionality that hooks offer needlessly. Instead of try-catching everything, it's likely better to let hooks throw an exception and do any state-management in a finally block

mattrjacobs pushed a commit to mattrjacobs/Hystrix that referenced this issue Apr 30, 2015
mattrjacobs added a commit that referenced this issue Apr 30, 2015
@mattrjacobs
Copy link
Contributor Author

Fixed by #780

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