Removed error response body from item fetch to minimize spamming image contents.
This commit is contained in:
@@ -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)) {
|
||||
|
||||
Reference in New Issue
Block a user