Skip to content

Commit

Permalink
chore: error logs
Browse files Browse the repository at this point in the history
  • Loading branch information
areyouok committed Jan 8, 2025
1 parent fd2a4c7 commit 0914803
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -100,12 +100,12 @@ protected FrameCallResult handle(Throwable ex) {
if (current != null) {
EmptyBodyRespPacket wf = new EmptyBodyRespPacket(CmdCodes.BIZ_ERROR);
wf.setMsg(ex.toString());
log.error("uncaught exception in {}.", getClass().getSimpleName(), ex);
current.getReqContext().getDtChannel().getRespWriter().writeRespInBizThreads(
current.getReqFrame(), wf, current.getReqContext().getTimeout());
}
if (!isGroupShouldStopPlain()) {
log.error("uncaught exception in {}, restart processor fiber: {}",
getClass().getSimpleName(), ex.toString());
log.error("restart processor fiber.");
startProcessFiber(channel);
}
return Fiber.frameReturn();
Expand Down

0 comments on commit 0914803

Please sign in to comment.