Polishing
This commit is contained in:
@@ -135,13 +135,11 @@ public abstract class AbstractHandlerExceptionResolver implements HandlerExcepti
|
||||
prepareResponse(ex, response);
|
||||
ModelAndView result = doResolveException(request, response, handler, ex);
|
||||
if (result != null) {
|
||||
|
||||
// Print warn message, when warn logger is not enabled..
|
||||
// Print warn message when warn logger is not enabled...
|
||||
if (logger.isWarnEnabled() && (this.warnLogger == null || !this.warnLogger.isWarnEnabled())) {
|
||||
logger.warn("Resolved [" + ex + "]" + (result.isEmpty() ? "" : " to " + result));
|
||||
}
|
||||
|
||||
// warnLogger with full stack trace (requires explicit config)..
|
||||
// warnLogger with full stack trace (requires explicit config)
|
||||
logException(ex, request);
|
||||
}
|
||||
return result;
|
||||
|
||||
Reference in New Issue
Block a user