Skip to content

Commit

Permalink
Merge pull request #2448 from DarrMirr/ISSUE-2447
Browse files Browse the repository at this point in the history
ISSUE-2447 add stacktrace log output if atmosphere interceptor crashed with runtime exception
  • Loading branch information
jfarcand committed Oct 6, 2021
2 parents c73ded1 + 52f4529 commit 9bc772b
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 9bc772b

Please sign in to comment.