Skip to content

Commit

Permalink
Merge pull request #874 from dickens7/fix-log
Browse files Browse the repository at this point in the history
fix: stacks string
  • Loading branch information
smallnest authored Sep 17, 2024
2 parents 8914b35 + acc8132 commit 2f9a712
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 2f9a712

Please sign in to comment.