mirror of
https://github.com/qdm12/gluetun.git
synced 2026-06-24 12:57:43 +02:00
chore(errors): review all errors in codebase
This commit is contained in:
@@ -45,5 +45,6 @@ func (c *Client) Check(ctx context.Context, url string) error {
|
||||
if err != nil {
|
||||
return err
|
||||
}
|
||||
return fmt.Errorf("%w: %s: %s", ErrHTTPStatusNotOK, response.Status, string(b))
|
||||
return fmt.Errorf("%w: %d %s: %s", ErrHTTPStatusNotOK,
|
||||
response.StatusCode, response.Status, string(b))
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user