diff --git a/backend/src/graphql/resolver/UserResolver.ts b/backend/src/graphql/resolver/UserResolver.ts index 0c0e3623a..bfa3d7cdd 100644 --- a/backend/src/graphql/resolver/UserResolver.ts +++ b/backend/src/graphql/resolver/UserResolver.ts @@ -794,7 +794,7 @@ export class UserResolver { // const user = await dbUser.findOne({ id: emailContact.userId }) const user = await findUserByEmail(email) if (!user) { - throw new LogError(`Could not find User to emailContact: ${email}`, email) + throw new LogError('Could not find user to given email contact', email) } if (user.deletedAt) { throw new LogError(`User with emailContact: ${email} is deleted`, email)