mirror of
https://github.com/spring-projects/spring-framework.git
synced 2026-09-17 16:39:29 +00:00
Log which HandlerInterceptor threw the exception
Closes gh-36281 Signed-off-by: Łukasz Jernaś <lukasz.jernas@allegro.com>
This commit is contained in:
committed by
Brian Clozel
parent
ec459aefbf
commit
c33b82f2a1
+1
-1
@@ -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);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user