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 02:01:45 +01:00 committed by GitHub
parent be53d6bbe0
commit 46eb45a14e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -595,7 +595,7 @@ export class UserResolver {
logger.debug('writing User data successful...')
} catch (e) {
await queryRunner.rollbackTransaction()
throw new LogError(`error on writing updated user data: ${e}`, e)
throw new LogError(`Error on writing updated user data', e)
} finally {
await queryRunner.release()
}