Skip to content

Commit 7ca0719

Browse files
authored
[MINOR] improvement(server): LOG the exception call stack while unregisterShuffle (#2228)
### What changes were proposed in this pull request? LOG the exception call stack while unregisterShuffle ### Why are the changes needed? Easy to find the error call stack. ### Does this PR introduce _any_ user-facing change? No. ### How was this patch tested? No need.
1 parent 77c5c61 commit 7ca0719

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

server/src/main/java/org/apache/uniffle/server/ShuffleServerGrpcService.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -172,6 +172,7 @@ public void unregisterShuffleByAppId(
172172
}
173173
} catch (Exception e) {
174174
status = StatusCode.INTERNAL_ERROR;
175+
LOG.error("App {} exception while unregisterShuffleByAppId", appId, e);
175176
}
176177

177178
auditContext.withStatusCode(status);
@@ -215,6 +216,7 @@ public void unregisterShuffle(
215216
}
216217
} catch (Exception e) {
217218
status = StatusCode.INTERNAL_ERROR;
219+
LOG.error("App {} exception while unregisterShuffle", appId, e);
218220
}
219221

220222
auditContext.withStatusCode(status);

0 commit comments

Comments
 (0)