mirror of
https://github.com/paricafe/misskey.git
synced 2025-01-19 05:48:40 -06:00
try: fix: return null instead of throw error when recursively fetching note
This commit is contained in:
parent
b04c2ab4b4
commit
be295b19a6
1 changed files with 1 additions and 1 deletions
|
@ -235,7 +235,7 @@ export class ApNoteService {
|
||||||
})
|
})
|
||||||
.catch(async err => {
|
.catch(async err => {
|
||||||
this.logger.warn(`Error in inReplyTo ${note.inReplyTo} - ${err.statusCode ?? err}`);
|
this.logger.warn(`Error in inReplyTo ${note.inReplyTo} - ${err.statusCode ?? err}`);
|
||||||
throw err;
|
return null;
|
||||||
})
|
})
|
||||||
: null;
|
: null;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue