Skip to content

Node.js based forum software built for the modern web

fix: add missing catch, closes #13012

Barış Soner Uşaklı45021b5bfacb
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;
}
}