diff options
| author | Hazelnoot <acomputerdog@gmail.com> | 2024-11-03 16:51:12 -0500 |
|---|---|---|
| committer | Hazelnoot <acomputerdog@gmail.com> | 2024-11-20 22:05:10 -0500 |
| commit | 0de7a084a99860b6f88bc2ce940dd6cb6d3543d5 (patch) | |
| tree | beace1ad7865ab3a1b84e5106f13ddd2fb675791 | |
| parent | fix exception handling for Announce activities (diff) | |
| download | sharkey-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.ts | 2 |
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 |