Skip to content

Commit

Permalink
better log format
Browse files Browse the repository at this point in the history
  • Loading branch information
DMwangnima committed Nov 22, 2024
1 parent 001a3d9 commit 26b653b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/remote/trans/nphttp2/grpc/http2_server.go
Original file line number Diff line number Diff line change
Expand Up @@ -617,7 +617,7 @@ func (t *http2Server) handleRSTStream(f *http2.RSTStreamFrame) {
if s, ok := t.getStream(f); ok {
mappingErr, stCode := getMappingErrAndStatusCode(s.ctx, f.ErrCode, serverSide)
stErr := newStatusf(stCode, mappingErr, "transport: RSTStream Frame received with error code: %d [triggered by %s]", f.ErrCode, s.sourceService).Err()
klog.CtxInfof(s.ctx, "transport: http2Server.handleRSTStream received RSTStream Frame with error code: %v", f.ErrCode)
klog.CtxInfof(s.ctx, "transport: http2Server.handleRSTStream received RSTStream Frame with error code: %d", f.ErrCode)
t.closeStream(s, stErr, false, 0, false)
return
}
Expand Down

0 comments on commit 26b653b

Please sign in to comment.