Skip to content

Commit

Permalink
errwrap errwhere
Browse files Browse the repository at this point in the history
  • Loading branch information
VinnyHC committed Mar 14, 2022
1 parent c98505a commit 3a2e9c5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion api/client.go
Expand Up @@ -1320,7 +1320,7 @@ func (c *Client) httpRequestWithContext(ctx context.Context, r *Request) (*Respo

if err != nil {
if strings.Contains(err.Error(), "tls: oversized") {
err = fmt.Errorf("%s\n\n%s", err, TLSErrorString)
err = errwrap.Wrapf("{{err}}\n\n"+TLSErrorString, err)
}
return result, err
}
Expand Down

0 comments on commit 3a2e9c5

Please sign in to comment.