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

Bugfix to HystrixBadRequestException handling #183

Merged

Conversation

mattrjacobs
Copy link
Contributor

Logs were spuriously getting generated by HystrixBadRequestExceptions.

Only functional diff is that the log.warn is now not called unless the HystrixCommandExecutionHook.onRunError invocation throws an Exception. I didn't add a mockLogger for testing purposes, but checked that the HystrixBadRequestException case was completely handled already - so no regressions here.

Also, changed the log message to match the HystrixCommandExecutionHook method name : onRunError

…getting generated when HystrixBadRequestExceptions got thrown
@cloudbees-pull-request-builder

Hystrix-pull-requests #49 ABORTED

benjchristensen added a commit that referenced this pull request Sep 27, 2013
Bugfix to HystrixBadRequestException handling
@benjchristensen benjchristensen merged commit d5a19eb into Netflix:master Sep 27, 2013
@mattrjacobs mattrjacobs deleted the bad-request-exception-handling branch January 19, 2015 21:38
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

Successfully merging this pull request may close these issues.

3 participants