diff --git a/modules/cpr/src/main/java/org/atmosphere/cpr/AsynchronousProcessor.java b/modules/cpr/src/main/java/org/atmosphere/cpr/AsynchronousProcessor.java index 0ddd8e4016..2581622676 100755 --- a/modules/cpr/src/main/java/org/atmosphere/cpr/AsynchronousProcessor.java +++ b/modules/cpr/src/main/java/org/atmosphere/cpr/AsynchronousProcessor.java @@ -336,7 +336,7 @@ public Action invokeInterceptors(List c, AtmosphereResour try { a = arc.inspect(r); } catch (Exception ex) { - logger.error("Interceptor {} crashed. Processing will continue with other interceptor.", arc, ex); + logger.error("Interceptor " + arc + " crashed. Processing will continue with other interceptor.", ex); continue; } @@ -374,7 +374,7 @@ public void postInterceptors(List c, AtmosphereResource r arc = c.get(i); arc.postInspect(r); } catch (Exception ex) { - logger.error("Interceptor {} crashed. Processing will continue with other interceptor.", arc, ex); + logger.error("Interceptor " + arc + " crashed. Processing will continue with other interceptor.", ex); continue; } }