do not expose so much error information

This commit is contained in:
Ulf Gebhardt 2023-02-02 01:56:07 +01:00
parent 4300b10df7
commit 09ac97faba
Signed by: ulfgebhardt
GPG Key ID: DA6B843E748679C9

View File

@ -469,7 +469,7 @@ export class UserResolver {
})
// Save userContact
await queryRunner.manager.save(userContact).catch((error) => {
throw new LogError(`error saving userContact: ${error}`, error)
throw new LogError('Error saving userContact', error)
})
await queryRunner.commitTransaction()