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, "" }