Log which HandlerInterceptor threw the exception

Closes gh-36281

Signed-off-by: Łukasz Jernaś <lukasz.jernas@allegro.com>
This commit is contained in:
Łukasz Jernaś
2026-02-10 11:44:26 +01:00
committed by Brian Clozel
parent ec459aefbf
commit c33b82f2a1
@@ -175,7 +175,7 @@ public class HandlerExecutionChain {
interceptor.afterCompletion(request, response, this.handler, ex);
}
catch (Throwable ex2) {
logger.error("HandlerInterceptor.afterCompletion threw exception", ex2);
logger.error("HandlerInterceptor.afterCompletion threw exception in interceptor [" + interceptor + "]", ex2);
}
}
}