This is an automated email from the ASF dual-hosted git repository. acosentino pushed a commit to branch sandbox/camel-3.x in repository https://gitbox.apache.org/repos/asf/camel.git
commit 2cced7c4d009b0742f213ba74075e2fbedefb0bf Author: Andrea Cosentino <anco...@gmail.com> 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 d605f0e..5b92134 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 @@ -173,7 +173,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); } }