Skip to content

Commit

Permalink
server/conn: log more detailed errors (pingcap#11731)
Browse files Browse the repository at this point in the history
  • Loading branch information
lance6716 authored and zz-jason committed Aug 13, 2019
1 parent e08e939 commit 44292d0
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions server/conn.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 44292d0

Please sign in to comment.