Skip to content

Commit

Permalink
Update error.go
Browse files Browse the repository at this point in the history
Missed one.
  • Loading branch information
splicefracture authored Nov 24, 2020
1 parent aecc811 commit f373854
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion error.go
Original file line number Diff line number Diff line change
Expand Up @@ -496,7 +496,7 @@ func (cn *conn) errRecover(err *error) {
cn.setBad()
*err = v
case *safeRetryError:
cn.bad = true
cn.setBad()
*err = driver.ErrBadConn
case error:
if v == io.EOF || v.(error).Error() == "remote error: handshake failure" {
Expand Down

0 comments on commit f373854

Please sign in to comment.