Skip to content

Commit

Permalink
errwrap errwhere
Browse files Browse the repository at this point in the history
  • Loading branch information
VinnyHC committed Mar 2, 2022
1 parent 1b74c8d commit aec2679
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 aec2679

Please sign in to comment.