Skip to content

Bugfix to HystrixBadRequestException handling#183

Merged
benjchristensen merged 1 commit intoNetflix:masterfrom
mattrjacobs:bad-request-exception-handling
Sep 27, 2013
Merged

Bugfix to HystrixBadRequestException handling#183
benjchristensen merged 1 commit intoNetflix:masterfrom
mattrjacobs:bad-request-exception-handling

Conversation

@mattrjacobs
Copy link
Copy Markdown
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
Copy link
Copy Markdown

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