Removed error response body from item fetch to minimize spamming image contents.
This commit is contained in:
parent
b4f8605464
commit
e5b1e9ea25
|
@ -25,7 +25,7 @@ async function fetchItem(url, attempt, context) {
|
|||
const res = await limiter.schedule(async () => bhttp.get(url, { headers: context.headers }));
|
||||
|
||||
if (res.statusCode !== 200) {
|
||||
throw new Error(`Response not OK for ${url} (${res.statusCode}): ${res.body.toString()}`);
|
||||
throw new Error(`Response not OK for ${url} (${res.statusCode})`);
|
||||
}
|
||||
|
||||
if (!Buffer.isBuffer(res.body)) {
|
||||
|
|
Loading…
Reference in New Issue