From 80fa5741a956fa367351bfd6af14a809bb29de09 Mon Sep 17 00:00:00 2001 From: marco Date: Wed, 28 Feb 2024 11:13:03 +0100 Subject: [PATCH] wip --- pkg/apiclient/client.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/apiclient/client.go b/pkg/apiclient/client.go index d277b97f1c5..ccb062db775 100644 --- a/pkg/apiclient/client.go +++ b/pkg/apiclient/client.go @@ -91,7 +91,7 @@ func NewClient(config *Config) (*ApiClient, error) { } if !strings.HasSuffix(baseUrl.Path, "/") && baseUrl.Host != "unix" { - return nil, fmt.Errorf("BaseURL must have a trailing slash, but %q does not", baseUrl) + return nil, fmt.Errorf("BaseURL must have a trailing slash, but %q does not (host: %s, path: %s)", baseUrl, baseUrl.Host, baseUrl.Path) } c := &ApiClient{client: t.Client(), BaseURL: baseUrl, UserAgent: config.UserAgent, URLPrefix: config.VersionPrefix, PapiURL: config.PapiURL}