Update backend/src/graphql/resolver/UserResolver.ts

Co-authored-by: Moriz Wahl <moriz.wahl@gmx.de>
This commit is contained in:
Ulf Gebhardt 2023-02-02 01:59:34 +01:00 committed by GitHub
parent de4ee4f614
commit 4300b10df7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -588,7 +588,7 @@ export class UserResolver {
try {
await queryRunner.manager.save(userEntity).catch((error) => {
throw new LogError(`error saving user: ${error}`, error)
throw new LogError('Error saving user', error)
})
await queryRunner.commitTransaction()