This is an automated email from the ASF dual-hosted git repository. acosentino pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/camel.git
commit ba022b4ce8be405d57d209055f830750b9042b01 Author: Andrea Cosentino <[email protected]> AuthorDate: Tue Nov 27 11:14:29 2018 +0100 Camel-AHC WS - Fixed CS --- .../src/main/java/org/apache/camel/component/ahc/ws/WsEndpoint.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/camel-ahc-ws/src/main/java/org/apache/camel/component/ahc/ws/WsEndpoint.java b/components/camel-ahc-ws/src/main/java/org/apache/camel/component/ahc/ws/WsEndpoint.java index edc7d76..a5f24a2 100644 --- a/components/camel-ahc-ws/src/main/java/org/apache/camel/component/ahc/ws/WsEndpoint.java +++ b/components/camel-ahc-ws/src/main/java/org/apache/camel/component/ahc/ws/WsEndpoint.java @@ -174,7 +174,7 @@ public class WsEndpoint extends AhcEndpoint { } catch (Exception e) { LOG.warn("Error re-connecting to websocket", e); ExceptionHandler exceptionHandler = getExceptionHandler(); - if(exceptionHandler != null) { + if (exceptionHandler != null) { exceptionHandler.handleException("Error re-connecting to websocket", e); } }
