mirror of
https://activitypub.software/TransFem-org/Sharkey.git
synced 2024-12-29 13:59:26 +01:00
replace console.error
with this.logger.error
(merge error)
This commit is contained in:
parent
fedf0d7e20
commit
dcd5b6d972
1 changed files with 2 additions and 2 deletions
|
@ -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 a new issue