Fix wrong log function

This commit is contained in:
Galorhallen 2022-02-10 11:33:09 +01:00
parent 6fdcc9bb16
commit c2437c8246

View File

@ -159,7 +159,7 @@ func (c *Client) getPHPSessionID() (sessionID string) {
resp, err := c.httpClient.Do(req)
if err != nil {
log.Error("An error has occured during login to PI-Hole: %v", err)
log.Errorf("An error has occured during login to PI-Hole: %v", err)
}
for _, cookie := range resp.Cookies() {