Log error

This commit is contained in:
Douglas Barone 2021-01-07 09:23:09 -04:00
parent 10ee9667bd
commit 9de555c361

View File

@ -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.')
} }