better error handling of this.userPublickeysRepository.delete
This commit is contained in:
parent
44f0064301
commit
09b2e71e62
|
@ -589,9 +589,11 @@ export class ApPersonService implements OnModuleInit {
|
|||
this.userPublickeysRepository.delete({
|
||||
keyId: Not(In(Array.from(publicKeys.keys()))),
|
||||
userId: exist.id,
|
||||
}).catch(err => {
|
||||
this.logger.error('something happened while deleting remote user public keys:', { userId: exist.id, err });
|
||||
});
|
||||
} catch (err) {
|
||||
this.logger.error('something happened while updating remote user public keys:', { err });
|
||||
this.logger.error('something happened while updating remote user public keys:', { userId: exist.id, err });
|
||||
}
|
||||
|
||||
let _description: string | null = null;
|
||||
|
|
Loading…
Reference in New Issue