replace `console.error` with `this.logger.error` (merge error)
This commit is contained in:
parent
fedf0d7e20
commit
dcd5b6d972
|
@ -483,7 +483,7 @@ export class ApPersonService implements OnModuleInit {
|
|||
}
|
||||
//#endregion
|
||||
|
||||
await this.updateFeatured(user.id, resolver).catch(err => console.error(err));
|
||||
await this.updateFeatured(user.id, resolver).catch(err => this.logger.error(err));
|
||||
|
||||
return user;
|
||||
}
|
||||
|
@ -648,7 +648,7 @@ export class ApPersonService implements OnModuleInit {
|
|||
{ followerSharedInbox: person.sharedInbox ?? person.endpoints?.sharedInbox },
|
||||
);
|
||||
|
||||
await this.updateFeatured(exist.id, resolver).catch(err => console.error(err));
|
||||
await this.updateFeatured(exist.id, resolver).catch(err => this.logger.error(err));
|
||||
|
||||
const updated = { ...exist, ...updates };
|
||||
|
||||
|
|
Loading…
Reference in New Issue