Skip to content

Commit 7c98e35

Browse files
author
Cyril de Catheu
committed
[server] bump log level from debug to error for generic exceptions
1 parent e92c69f commit 7c98e35

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

thirdeye-server/src/main/java/ai/startree/thirdeye/exception/GenericExceptionMapper.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ public GenericExceptionMapper() {
4444
@Override
4545
public Response toResponse(final Throwable exception) {
4646
final ThirdEyeStatus status = statusFor(exception);
47-
LOG.debug(
47+
LOG.error(
4848
"Request failed because of a {}. Returning error code {}",
4949
exception.getClass().getSimpleName(),
5050
status.getRecommendedStatusCode(), exception);

0 commit comments

Comments
 (0)