Skip to content

Commit

Permalink
test: debug 2
Browse files Browse the repository at this point in the history
  • Loading branch information
YangruiEmma committed Jan 4, 2025
1 parent 2240125 commit fe60aff
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/remote/trans/default_server_handler.go
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ func (t *svrTransHandler) Read(ctx context.Context, conn net.Conn, recvMsg remot
stack := string(debug.Stack())
panicErr := kerrors.ErrPanic.WithCauseAndStack(fmt.Errorf("[happened in Read] %s", r), stack)
rpcinfo.AsMutableRPCStats(ri.Stats()).SetPanicked(panicErr)
//err = remote.NewTransError(remote.ProtocolError, kerrors.ErrPanic.WithCauseAndStack(fmt.Errorf("[happened in Read] %s", r), stack))
err = remote.NewTransError(remote.ProtocolError, panicErr)
nctx = ctx
}
t.ext.ReleaseBuffer(bufReader, err)
Expand Down

0 comments on commit fe60aff

Please sign in to comment.