This commit is contained in:
iacore
2024-03-22 12:22:51 +00:00
parent 307ea404f5
commit 15fb35d60b
+2 -1
View File
@@ -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