Skip to content

Commit

Permalink
fix issue read req timeout bug cause by pr#1223 (#1232) (#1254)
Browse files Browse the repository at this point in the history
Co-authored-by: crazycs <[email protected]>
Co-authored-by: you06 <[email protected]>
fix issue read req timeout bug cause by pr#1223
  • Loading branch information
pingyu authored Mar 29, 2024
1 parent fb2a7c7 commit 462f013
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions internal/client/client.go
Original file line number Diff line number Diff line change
Expand Up @@ -128,6 +128,10 @@ func (e *ErrConn) Error() string {
return fmt.Sprintf("[%s](%d) %s", e.Addr, e.Ver, e.Err.Error())
}

func (e *ErrConn) Cause() error {
return e.Err
}

func (e *ErrConn) Unwrap() error {
return e.Err
}
Expand Down

0 comments on commit 462f013

Please sign in to comment.