From 6e7ad0be3fb5b6f47129c492c76d3f8965419e6a Mon Sep 17 00:00:00 2001 From: sivchari Date: Sat, 3 Sep 2022 00:20:44 +0900 Subject: [PATCH] fix: error format --- auth.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/auth.go b/auth.go index fa2f651c6..e2f426908 100644 --- a/auth.go +++ b/auth.go @@ -235,7 +235,7 @@ func postAuth( var respd authResponse err = json.NewDecoder(resp.Body).Decode(&respd) if err != nil { - logger.Error("failed to decode JSON. err: %v", err) + logger.Errorf("failed to decode JSON. err: %v", err) return nil, err } return &respd, nil