From e3295864d7caca87d751be01532a90a4e4310089 Mon Sep 17 00:00:00 2001 From: Thomas Lynch Date: Wed, 18 Nov 2020 09:34:01 +0000 Subject: [PATCH] the console.error thing was wrong, but we dont want to print errors here anyway --- schedules/webring.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/schedules/webring.js b/schedules/webring.js index a79a0b30..f0c8c27b 100644 --- a/schedules/webring.js +++ b/schedules/webring.js @@ -28,7 +28,9 @@ module.exports = async () => { headers: { 'User-Agent':'' } - }).then(res => res.json()).catch(e => console.error); + }) + .then(res => res.json()) + .catch(e => {}); })); for (let i = 0; i < rings.length; i++) { const ring = rings[i];