mirror of
https://github.com/IT4Change/gradido.git
synced 2025-12-13 07:45:54 +00:00
corrected error message to not expose too much info
This commit is contained in:
parent
fbec0d44b5
commit
0f7f38e2cd
@ -465,7 +465,7 @@ export class UserResolver {
|
||||
try {
|
||||
// Save user
|
||||
await queryRunner.manager.save(user).catch((error) => {
|
||||
throw new LogError(`Error saving user: ${error}`, error)
|
||||
throw new LogError('Error saving user', error)
|
||||
})
|
||||
// Save userContact
|
||||
await queryRunner.manager.save(userContact).catch((error) => {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user