Skip to content

Commit

Permalink
fix: stacks string
Browse files Browse the repository at this point in the history
fix: stacks string
  • Loading branch information
dickens7 committed Sep 15, 2024
1 parent 8914b35 commit acc8132
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion server/server.go
Original file line number Diff line number Diff line change
Expand Up @@ -530,7 +530,7 @@ func (s *Server) processOneRequest(ctx *share.Context, req *protocol.Message, co
if s.HandleServiceError != nil {
s.HandleServiceError(fmt.Errorf("%v", r))
} else {
log.Errorf("[handler internal error]: servicepath: %s, servicemethod, err: %v๏ผŒstacks: %s", req.ServicePath, req.ServiceMethod, r, buf)
log.Errorf("[handler internal error]: servicepath: %s, servicemethod, err: %v๏ผŒstacks: %s", req.ServicePath, req.ServiceMethod, r, string(buf))
}
sctx := NewContext(ctx, conn, req, s.AsyncWrite)
sctx.WriteError(fmt.Errorf("%v", r))
Expand Down

0 comments on commit acc8132

Please sign in to comment.