diff --git a/goofy-server/src/main/java/de/itvsh/goofy/common/errorhandling/ExceptionController.java b/goofy-server/src/main/java/de/itvsh/goofy/common/errorhandling/ExceptionController.java index 8d1fb7d38d61a96172d14e31b1787b047b3b043c..a63956dc6427b57fde8c0ac5fb34a545fc10287d 100644 --- a/goofy-server/src/main/java/de/itvsh/goofy/common/errorhandling/ExceptionController.java +++ b/goofy-server/src/main/java/de/itvsh/goofy/common/errorhandling/ExceptionController.java @@ -176,8 +176,7 @@ public class ExceptionController { public ApiError handleRuntimeException(RuntimeException e) { var exceptionId = createExceptionId(); var messageWithExceptionId = ExceptionUtil.formatMessageWithExceptionId(e.getMessage(), exceptionId); - LOG.error("RuntimeException on Request", messageWithExceptionId); - LOG.error("RuntimeException on Request", e); + LOG.error("RuntimeException on Request: " + messageWithExceptionId, e); return buildRuntimeApiError(messageWithExceptionId, exceptionId); }