Fixed log formatting error

This commit is contained in:
Magnus Watn 2018-11-15 12:14:33 +01:00
parent 0ec8d942a6
commit 52265d248f
1 changed files with 1 additions and 1 deletions

View File

@ -140,7 +140,7 @@ public class ExceptionHandlingInterceptor extends InterceptorAdapter {
if (statusCode < 500) { if (statusCode < 500) {
ourLog.warn("Failure during REST processing: {}", theException.toString()); ourLog.warn("Failure during REST processing: {}", theException.toString());
} else { } else {
ourLog.warn("Failure during REST processing: {}", theException); ourLog.warn("Failure during REST processing", theException);
} }
BaseServerResponseException baseServerResponseException = (BaseServerResponseException) theException; BaseServerResponseException baseServerResponseException = (BaseServerResponseException) theException;