From 15fb35d60baa53f7fddbecb2641c27e33807aaeb Mon Sep 17 00:00:00 2001 From: iacore Date: Fri, 22 Mar 2024 12:22:51 +0000 Subject: [PATCH] cleanup --- core/http/request.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/core/http/request.go b/core/http/request.go index 0201f1e..bf3b34a 100644 --- a/core/http/request.go +++ b/core/http/request.go @@ -130,7 +130,8 @@ func webAPIRequest(context context.Context, URL, token string) HttpResponse { } if !(300 > resp2.StatusCode && resp2.StatusCode >= 200) { - fmt.Println("non-2xx response from pixiv:", URL, resp2.StatusCode, resp2.Body) + // class:warn + log.Println("non-2xx response from pixiv:", URL, resp2.StatusCode, resp2.Body) } return resp2