mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-05 05:25:49 +01:00
fix: add missing catch, closes #13012
This commit is contained in:
@@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user