From 37fe998fd8f082234236fbf0ca175da445864fe0 Mon Sep 17 00:00:00 2001 From: Yarmo Mackenbach Date: Fri, 14 Oct 2022 13:04:42 +0200 Subject: [PATCH] Do not react to lack of setup --- src/fetcher/activitypub.js | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/fetcher/activitypub.js b/src/fetcher/activitypub.js index 89eff8d..d5173b3 100644 --- a/src/fetcher/activitypub.js +++ b/src/fetcher/activitypub.js @@ -58,9 +58,7 @@ module.exports.fn = async (data, opts) => { try { validator.isURL(opts.claims.activitypub.url) isConfigured = true - } catch (err) { - console.log(`ActivityPub fetcher was not set up (${err.message})`) - } + } catch (_) {} const now = new Date() const { host, pathname, search } = new URL(data.url)