Skip to content

Commit e92c69f

Browse files
author
Cyril de Catheu
committed
[server] fix exception logging
1 parent 821842e commit e92c69f

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
@@ -47,7 +47,7 @@ public Response toResponse(final Throwable exception) {
4747
LOG.debug(
4848
"Request failed because of a {}. Returning error code {}",
4949
exception.getClass().getSimpleName(),
50-
status.getRecommendedStatusCode());
50+
status.getRecommendedStatusCode(), exception);
5151
final StatusApi statusApi = new StatusApi()
5252
.setCode(status)
5353
.setMsg(exception.getMessage())

0 commit comments

Comments
 (0)