aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--golib/httpclient.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/golib/httpclient.go b/golib/httpclient.go
index 24cfed1..6662b2d 100644
--- a/golib/httpclient.go
+++ b/golib/httpclient.go
@@ -88,6 +88,7 @@ func HTTPNewClient(baseURL string, cfg HTTPClientConfig) (*HTTPClient, error) {
}
if err := client.getCidAndCsrf(); err != nil {
+ client.log(HTTPLogLevelError, "Cannot retrieve Client ID and/or CSRF: %v", err)
return &client, err
}