diff --git a/src/fetch/item.js b/src/fetch/item.js index 820fbe4..fe7982c 100644 --- a/src/fetch/item.js +++ b/src/fetch/item.js @@ -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)) {