From 1204362e9c18a75b8542935130e2930e1029871a Mon Sep 17 00:00:00 2001 From: Gani Georgiev Date: Thu, 2 Apr 2026 20:12:01 +0300 Subject: [PATCH] use the raw address in the error message --- apis/record_auth_with_oauth2.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apis/record_auth_with_oauth2.go b/apis/record_auth_with_oauth2.go index 691eea87..f54cac81 100644 --- a/apis/record_auth_with_oauth2.go +++ b/apis/record_auth_with_oauth2.go @@ -440,7 +440,7 @@ func safeHTTPClient() (*http.Client, error) { ip.IsLinkLocalUnicast() || ip.IsLinkLocalMulticast() || ip.IsMulticast() { - return fmt.Errorf("address %q is invalid or not allowed", ip.String()) + return fmt.Errorf("address %q is invalid or resolve to disallowed IP", address) } return nil