summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHazelnoot <acomputerdog@gmail.com>2024-11-03 16:51:12 -0500
committerHazelnoot <acomputerdog@gmail.com>2024-11-20 22:05:10 -0500
commit0de7a084a99860b6f88bc2ce940dd6cb6d3543d5 (patch)
treebeace1ad7865ab3a1b84e5106f13ddd2fb675791
parentfix exception handling for Announce activities (diff)
downloadsharkey-0de7a084a99860b6f88bc2ce940dd6cb6d3543d5.tar.gz
sharkey-0de7a084a99860b6f88bc2ce940dd6cb6d3543d5.tar.bz2
sharkey-0de7a084a99860b6f88bc2ce940dd6cb6d3543d5.zip
fix exception handling for Undo activities
-rw-r--r--packages/backend/src/core/activitypub/ApInboxService.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/backend/src/core/activitypub/ApInboxService.ts b/packages/backend/src/core/activitypub/ApInboxService.ts
index ea01086368..97c8ef3a9d 100644
--- a/packages/backend/src/core/activitypub/ApInboxService.ts
+++ b/packages/backend/src/core/activitypub/ApInboxService.ts
@@ -666,7 +666,7 @@ export class ApInboxService {
const object = await resolver.resolve(activity.object).catch(e => {
this.logger.error(`Resolution failed: ${e}`);
- return e;
+ throw e;
});
// don't queue because the sender may attempt again when timeout