Skip to content

Commit

Permalink
ISSUE-2447 add stacktrace log output if atmosphere interceptor crashe…
Browse files Browse the repository at this point in the history
…d with runtime exception.
  • Loading branch information
Vladimir Polukeev committed Oct 5, 2021
1 parent d86b608 commit 52f4529
Showing 1 changed file with 2 additions and 2 deletions.
Expand Up @@ -336,7 +336,7 @@ public Action invokeInterceptors(List<AtmosphereInterceptor> 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;
}

Expand Down Expand Up @@ -374,7 +374,7 @@ public void postInterceptors(List<AtmosphereInterceptor> 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;
}
}
Expand Down

0 comments on commit 52f4529

Please sign in to comment.