Skip to content

Commit

Permalink
server: fix auth fail log (#16318)
Browse files Browse the repository at this point in the history
  • Loading branch information
lysu authored Apr 13, 2020
1 parent 32149dc commit 48bd100
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion server/conn.go
Original file line number Diff line number Diff line change
Expand Up @@ -570,7 +570,9 @@ func (cc *clientConn) readOptionalSSLRequestAndHandshakeResponse(ctx context.Con
cc.attrs = resp.Attrs

err = cc.openSessionAndDoAuth(resp.Auth)
logutil.Logger(ctx).Warn("open new session failure", zap.Error(err))
if err != nil {
logutil.Logger(ctx).Warn("open new session failure", zap.Error(err))
}
return err
}

Expand Down

0 comments on commit 48bd100

Please sign in to comment.