mirror of
https://activitypub.software/TransFem-org/Sharkey.git
synced 2024-12-29 13:59:26 +01:00
don't suppress errors when Update(Question) or Update(Note) fails
This commit is contained in:
parent
c5f572dcfd
commit
4ec6bffca7
1 changed files with 2 additions and 2 deletions
|
@ -821,7 +821,7 @@ export class ApInboxService {
|
|||
return await this.create(actor, activity, resolver);
|
||||
}
|
||||
|
||||
await this.apQuestionService.updateQuestion(object, actor, resolver).catch(err => console.error(err));
|
||||
await this.apQuestionService.updateQuestion(object, actor, resolver);
|
||||
return 'ok: Question updated';
|
||||
} else if (isPost(object)) {
|
||||
// If we get an Update(Note) for a note that doesn't exist, then create it instead
|
||||
|
@ -829,7 +829,7 @@ export class ApInboxService {
|
|||
return await this.create(actor, activity, resolver);
|
||||
}
|
||||
|
||||
await this.apNoteService.updateNote(object, actor, resolver).catch(err => console.error(err));
|
||||
await this.apNoteService.updateNote(object, actor, resolver);
|
||||
return 'ok: Note updated';
|
||||
} else {
|
||||
return `skip: Unsupported type for Update: ${getApType(object)} (object ${getNullableApId(object)})`;
|
||||
|
|
Loading…
Reference in a new issue