fix exception handling for Announce activities

This commit is contained in:
Hazelnoot 2024-11-03 16:50:54 -05:00
parent 8f42e8434e
commit cfc3ab4b04
1 changed files with 1 additions and 1 deletions

View File

@ -297,7 +297,7 @@ export class ApInboxService {
const target = await resolver.resolve(activityObject).catch(e => { const target = await resolver.resolve(activityObject).catch(e => {
this.logger.error(`Resolution failed: ${e}`); this.logger.error(`Resolution failed: ${e}`);
return e; throw e;
}); });
if (isPost(target)) return await this.announceNote(actor, activity, target); if (isPost(target)) return await this.announceNote(actor, activity, target);