diff options
| author | jwijenbergh <jeroenwijenbergh@protonmail.com> | 2022-11-10 16:22:43 +0100 |
|---|---|---|
| committer | jwijenbergh <jeroenwijenbergh@protonmail.com> | 2022-11-10 16:22:43 +0100 |
| commit | 25fdd94671d6b090992e8086334852dfd68f16d8 (patch) | |
| tree | ef938fc258296e5e4752df055238c843f13b5dcb /internal/http/http.go | |
| parent | a303e073301ffecdddea003cbae72f2f953a0ab7 (diff) | |
HTTP: Fix typo in status error
Diffstat (limited to 'internal/http/http.go')
| -rw-r--r-- | internal/http/http.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/http/http.go b/internal/http/http.go index 6ff853b..005a665 100644 --- a/internal/http/http.go +++ b/internal/http/http.go @@ -163,7 +163,7 @@ type HTTPStatusError struct { func (e *HTTPStatusError) Error() string { return fmt.Sprintf( - "failed obtaining HTTP resource: %s as it gave an unsuccesful status code: %d. Body: %s", + "failed obtaining HTTP resource: %s as it gave an unsuccessful status code: %d. Body: %s", e.URL, e.Status, e.Body, |
