Skip to content

Commit

Permalink
Merge pull request #1015 from splicefracture/patch-1
Browse files Browse the repository at this point in the history
Update error.go
  • Loading branch information
maddyblue authored Nov 24, 2020
2 parents aecc811 + f373854 commit 11a44e2
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 11a44e2

Please sign in to comment.