Add a warn when login failed to be more explicit
This commit is contained in:
parent
27bdf54782
commit
546ba9b45a
@ -148,6 +148,7 @@ function checkIfUserIsAuth(config: IConfig, done: (err: Error) => void): void
|
||||
if (isAuthenticated === false)
|
||||
{
|
||||
const error = $('ul.message, li.error').text();
|
||||
log.warn('Authentication failed: ' + error);
|
||||
return done(AuthError('Authentication failed: ' + error));
|
||||
}
|
||||
else
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user