diff --git a/hystrix-core/src/main/java/com/netflix/hystrix/HystrixCommand.java b/hystrix-core/src/main/java/com/netflix/hystrix/HystrixCommand.java index 3303a6072..d800461ee 100755 --- a/hystrix-core/src/main/java/com/netflix/hystrix/HystrixCommand.java +++ b/hystrix-core/src/main/java/com/netflix/hystrix/HystrixCommand.java @@ -1264,11 +1264,10 @@ private R executeCommand() { if (decorated instanceof HystrixBadRequestException) { e = (HystrixBadRequestException) decorated; } else { - logger.warn("ExecutionHook.endRunFailure returned an exception that was not an instance of HystrixBadRequestException so will be ignored.", decorated); + logger.warn("ExecutionHook.onRunError returned an exception that was not an instance of HystrixBadRequestException so will be ignored.", decorated); } - throw e; } catch (Exception hookException) { - logger.warn("Error calling ExecutionHook.endRunFailure", hookException); + logger.warn("Error calling ExecutionHook.onRunError", hookException); } /*