From afc001a4ae2aac6161616661622285925eb59076 Mon Sep 17 00:00:00 2001 From: Sebastien Douheret Date: Tue, 12 Dec 2017 11:03:36 +0100 Subject: Added error about client ID or CSRF in log. --- golib/httpclient.go | 1 + 1 file changed, 1 insertion(+) 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 } -- cgit 1.2.3-korg