mirror of
https://codeberg.org/VnPower/PixivFE
synced 2024-12-06 19:16:23 +01:00
cleanup
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user