Skip to content

Commit

Permalink
fix exception handling for Announce activities
Browse files Browse the repository at this point in the history
  • Loading branch information
warriordog committed Nov 21, 2024
1 parent 8f42e84 commit cfc3ab4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/backend/src/core/activitypub/ApInboxService.ts
Original file line number Diff line number Diff line change
Expand Up @@ -297,7 +297,7 @@ export class ApInboxService {

const target = await resolver.resolve(activityObject).catch(e => {
this.logger.error(`Resolution failed: ${e}`);
return e;
throw e;
});

if (isPost(target)) return await this.announceNote(actor, activity, target);
Expand Down

0 comments on commit cfc3ab4

Please sign in to comment.