replace `console.error` with `this.logger.error` (merge error)

This commit is contained in:
Hazelnoot 2024-11-17 09:01:59 -05:00
parent fedf0d7e20
commit dcd5b6d972
1 changed files with 2 additions and 2 deletions

View File

@ -483,7 +483,7 @@ export class ApPersonService implements OnModuleInit {
} }
//#endregion //#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; return user;
} }
@ -648,7 +648,7 @@ export class ApPersonService implements OnModuleInit {
{ followerSharedInbox: person.sharedInbox ?? person.endpoints?.sharedInbox }, { 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 }; const updated = { ...exist, ...updates };