diff options
Diffstat (limited to 'i18n')
| -rw-r--r-- | i18n/err/i18nerr.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/i18n/err/i18nerr.go b/i18n/err/i18nerr.go index 8254dd4..1c97462 100644 --- a/i18n/err/i18nerr.go +++ b/i18n/err/i18nerr.go @@ -8,7 +8,7 @@ import ( "log/slog" "sync" - "codeberg.org/eduVPN/eduvpn-common/internal/http" + "codeberg.org/eduVPN/eduvpn-common/internal/httpwrap" "golang.org/x/text/language" "golang.org/x/text/message" @@ -26,7 +26,7 @@ func TranslatedInner(inner error) (string, bool) { unwrapped = errors.Unwrap(unwrapped) } - var tErr *http.TimeoutError + var tErr *httpwrap.TimeoutError switch { case errors.As(inner, &tErr): return printerOrNew(language.English).Sprintf("Timeout reached contacting URL: '%s'", tErr.URL), false |
