mirror of
https://github.com/azures04/crafatar.git
synced 2026-03-21 23:41:18 +01:00
log URL for too many requests
This commit is contained in:
parent
dfa88ec9f1
commit
045ffbd63f
@ -65,7 +65,7 @@ exp.get_from_options = function(rid, url, options, callback) {
|
||||
callback(null, response, null);
|
||||
} else if (response.statusCode === 429) {
|
||||
// Too Many Requests exception - code 429
|
||||
logging.warn(rid + body || "Too many requests");
|
||||
logging.warn(rid + url + " Too many requests");
|
||||
callback(body || null, response, error);
|
||||
} else {
|
||||
logging.error(rid + url + " Unknown error:");
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user