From 45021b5bfacb4f51fbca689a5e3b8d666c134060 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bar=C4=B1=C5=9F=20Soner=20U=C5=9Fakl=C4=B1?= Date: Wed, 25 Dec 2024 10:43:02 -0500 Subject: [PATCH] fix: add missing catch, closes #13012 --- src/activitypub/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/activitypub/index.js b/src/activitypub/index.js index 81ade2c8b4..b54dc83be6 100644 --- a/src/activitypub/index.js +++ b/src/activitypub/index.js @@ -525,7 +525,7 @@ ActivityPub.probe = async ({ uid, url }) => { // Return early but retry for caching purposes checkHeader(1000 * 60).then((result) => { probeCache.set(url, result); - }); + }).catch(err => ActivityPub.helpers.log(err.stack)); return false; } }