|
|
|
@ -186,7 +186,9 @@ public abstract class ResponseEntityExceptionHandler { |
|
|
|
(AsyncRequestTimeoutException) ex, headers, status, request); |
|
|
|
(AsyncRequestTimeoutException) ex, headers, status, request); |
|
|
|
} |
|
|
|
} |
|
|
|
else { |
|
|
|
else { |
|
|
|
logger.warn("Unknown exception type: " + ex.getClass().getName()); |
|
|
|
if (logger.isWarnEnabled()) { |
|
|
|
|
|
|
|
logger.warn("Unknown exception type: " + ex.getClass().getName()); |
|
|
|
|
|
|
|
} |
|
|
|
HttpStatus status = HttpStatus.INTERNAL_SERVER_ERROR; |
|
|
|
HttpStatus status = HttpStatus.INTERNAL_SERVER_ERROR; |
|
|
|
return handleExceptionInternal(ex, null, headers, status, request); |
|
|
|
return handleExceptionInternal(ex, null, headers, status, request); |
|
|
|
} |
|
|
|
} |
|
|
|
|