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

Capture exception from run() and expose getter #8

Closed
benjchristensen opened this issue Nov 27, 2012 · 1 comment
Closed

Capture exception from run() and expose getter #8

benjchristensen opened this issue Nov 27, 2012 · 1 comment
Milestone

Comments

@benjchristensen
Copy link
Contributor

If a HystrixCommand has a fallback implemented the exception is not thrown. Sometimes there are use cases where application code wants to inspect the exception even though there is a fallback.

It would be something like:

HystrixCommand.getExceptionIfThrown()

@benjchristensen
Copy link
Contributor Author

Committed in 2d970d9

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