diff --git a/src/remote/activitypub/resolver.ts b/src/remote/activitypub/resolver.ts index 9bbe474d3..e1c12e7e6 100644 --- a/src/remote/activitypub/resolver.ts +++ b/src/remote/activitypub/resolver.ts @@ -55,6 +55,8 @@ export default class Resolver { Accept: 'application/activity+json, application/ld+json' }, json: true + }).catch(e => { + throw new Error(`request error: ${e.message}`); }); if (object === null || (