Fix wrong log function
This commit is contained in:
parent
6fdcc9bb16
commit
c2437c8246
1 changed files with 1 additions and 1 deletions
|
@ -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() {
|
||||
|
|
Loading…
Reference in a new issue