server/conn: log more detailed errors (#11731)
This commit is contained in:
@ -632,6 +632,7 @@ func (cc *clientConn) Run(ctx context.Context) {
|
||||
logutil.Logger(ctx).Info("read packet timeout, close this connection",
|
||||
zap.Duration("idle", idleTime),
|
||||
zap.Uint64("waitTimeout", waitTimeout),
|
||||
zap.Error(err),
|
||||
)
|
||||
} else {
|
||||
errStack := errors.ErrorStack(err)
|
||||
|
||||
Reference in New Issue
Block a user