From d574af157a7a8506a53c50e8b832263010a2faa4 Mon Sep 17 00:00:00 2001 From: Justin Dhillon Date: Tue, 5 Dec 2023 18:01:31 -0800 Subject: [PATCH] remove console log to make user experience better --- bin/scan/writeBrokenLinks.js | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/bin/scan/writeBrokenLinks.js b/bin/scan/writeBrokenLinks.js index 0c398d4..659c643 100644 --- a/bin/scan/writeBrokenLinks.js +++ b/bin/scan/writeBrokenLinks.js @@ -49,9 +49,7 @@ async function writeBrokenLinks(links, PATH, fluff) { }); }); if (result.status === "dead") writeToFile(link, PATH, fluff); - } catch (err) { - console.error('Error: failed to validate', link, err); - } + } catch {} // This is in a try catch to skip over unsupported urls } return; };