From ac87207398e4dd9f6e69eac7087cb44d7075ffef Mon Sep 17 00:00:00 2001 From: The Ghost of FOSS' Future <163201376+sneedgroup-holder@users.noreply.github.com> Date: Sun, 15 Sep 2024 19:39:51 -0500 Subject: [PATCH] Update index.mjs --- index.mjs | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/index.mjs b/index.mjs index ba7db7e..56982cd 100644 --- a/index.mjs +++ b/index.mjs @@ -117,8 +117,6 @@ function generateSearchTerm(hostname) { const contexts = []; async function siteCrawler(hostname) { - - try { const crawled = generateSearchTerm(hostname); @@ -139,7 +137,7 @@ async function siteCrawler(hostname) { } async function contextAdd(hostnames) { - const promises = hostnames.map(hostname => siteCrawler(hostname)); + const promises = hostnames.map(hostname => siteCrawler(hostname) || "ERROR CRAWLING THIS SITE. IGNORE THIS DOCUMENT."); await Promise.all(promises); return contexts; }