mirror of
https://github.com/elyby/accounts-frontend.git
synced 2025-05-31 14:11:58 +05:30
#313: improve logging in auth states
This commit is contained in:
@@ -25,7 +25,9 @@ export default class PasswordState extends AbstractState {
|
||||
login
|
||||
})
|
||||
.then(() => context.setState(new CompleteState()))
|
||||
.catch((err = {}) => err.errors || logger.warn(err));
|
||||
.catch((err = {}) =>
|
||||
err.errors || logger.warn('Error logging in', err)
|
||||
);
|
||||
}
|
||||
|
||||
reject(context) {
|
||||
|
||||
Reference in New Issue
Block a user