Skip to content
Snippets Groups Projects
Commit 92482ef7 authored by OZGCloud's avatar OZGCloud
Browse files

fix logout with exception id

parent 7d863834
No related branches found
No related tags found
No related merge requests found
...@@ -176,8 +176,7 @@ public class ExceptionController { ...@@ -176,8 +176,7 @@ public class ExceptionController {
public ApiError handleRuntimeException(RuntimeException e) { public ApiError handleRuntimeException(RuntimeException e) {
var exceptionId = createExceptionId(); var exceptionId = createExceptionId();
var messageWithExceptionId = ExceptionUtil.formatMessageWithExceptionId(e.getMessage(), exceptionId); var messageWithExceptionId = ExceptionUtil.formatMessageWithExceptionId(e.getMessage(), exceptionId);
LOG.error("RuntimeException on Request", messageWithExceptionId); LOG.error("RuntimeException on Request: " + messageWithExceptionId, e);
LOG.error("RuntimeException on Request", e);
return buildRuntimeApiError(messageWithExceptionId, exceptionId); return buildRuntimeApiError(messageWithExceptionId, exceptionId);
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment