mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-08 06:55:46 +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
|
// Return early but retry for caching purposes
|
||||||
checkHeader(1000 * 60).then((result) => {
|
checkHeader(1000 * 60).then((result) => {
|
||||||
probeCache.set(url, result);
|
probeCache.set(url, result);
|
||||||
});
|
}).catch(err => ActivityPub.helpers.log(err.stack));
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user