try: fix: return null instead of throw error when recursively fetching note

This commit is contained in:
fly_mc 2024-11-18 02:36:56 +08:00
parent b04c2ab4b4
commit be295b19a6

View file

@ -235,7 +235,7 @@ export class ApNoteService {
})
.catch(async err => {
this.logger.warn(`Error in inReplyTo ${note.inReplyTo} - ${err.statusCode ?? err}`);
throw err;
return null;
})
: null;