Log error
This commit is contained in:
parent
10ee9667bd
commit
9de555c361
|
@ -305,7 +305,8 @@ class User {
|
||||||
} else {
|
} else {
|
||||||
logError({
|
logError({
|
||||||
tags: ['user', 'login', 'password'],
|
tags: ['user', 'login', 'password'],
|
||||||
message: `Can't bind with AD.`
|
message: `Can't bind with AD.`,
|
||||||
|
data: err
|
||||||
})
|
})
|
||||||
throw new Error('Problemas técnicos ao autenticar. Tente mais tarde.')
|
throw new Error('Problemas técnicos ao autenticar. Tente mais tarde.')
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user