fix exception handling for Announce activities
This commit is contained in:
parent
8f42e8434e
commit
cfc3ab4b04
|
@ -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);
|
||||||
|
|
Loading…
Reference in New Issue