From bf12ba76b6764d49dfba390983d7b2866bb4cc15 Mon Sep 17 00:00:00 2001 From: mountain Date: Fri, 16 Jun 2023 14:41:45 +0900 Subject: [PATCH] =?UTF-8?q?=ED=95=A8=EC=88=98=20=ED=98=B8=EC=B6=9C=20?= =?UTF-8?q?=EC=9E=98=EB=AA=BB=EB=90=9C=20=EA=B1=B0=20=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- core/platformapple.go | 2 +- core/platformgamepot.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/core/platformapple.go b/core/platformapple.go index f34ed91..0aac983 100644 --- a/core/platformapple.go +++ b/core/platformapple.go @@ -289,7 +289,7 @@ func (mg *Maingate) platform_apple_getuserinfo(refreshToken string) (bool, strin } if respReferesh.Error != "" { - logger.Error("apple returned an error: %s - %s\n", respReferesh.Error, respReferesh.ErrorDescription) + logger.Errorf("apple returned an error: %s - %s\n", respReferesh.Error, respReferesh.ErrorDescription) return false, "", "" } diff --git a/core/platformgamepot.go b/core/platformgamepot.go index 5881130..e6ca211 100644 --- a/core/platformgamepot.go +++ b/core/platformgamepot.go @@ -263,7 +263,7 @@ func (mg *Maingate) platform_gamepot_authorize_raw(w http.ResponseWriter, brinfo // fmt.Println("==============================") if respLoginCheck.Status != 0 { - logger.Errorf("gamepot login fail:", respLoginCheck.Message) + logger.Error("gamepot login fail:", respLoginCheck.Message) w.WriteHeader(http.StatusBadRequest) return false, "" }