isotoma / react-cognito

Library for integrating Facebook React and Amazon Cognito
Apache License 2.0
116 stars 48 forks source link

Errors in console when password is invalid #21

Open matusbalascak opened 6 years ago

matusbalascak commented 6 years ago

Why there is uncaught error in console when using wrong password?

bundle.js:16431 Uncaught (in promise) Error: Incorrect username or password. at Request.extractError (bundle.js:16431) at Request.callListeners (bundle.js:19408) at Request.emit (bundle.js:19380) at Request.emit (bundle.js:18017) at Request.transition (bundle.js:17356) at AcceptorStateMachine.runTo (bundle.js:22839) at bundle.js:22851 at Request.<anonymous> (bundle.js:17372) at Request.<anonymous> (bundle.js:18019) at Request.callListeners (bundle.js:19418) at Request.emit (bundle.js:19380) at Request.emit (bundle.js:18017) at Request.transition (bundle.js:17356) at AcceptorStateMachine.runTo (bundle.js:22839) at bundle.js:22851 at Request.<anonymous> (bundle.js:17372) at Request.<anonymous> (bundle.js:18019) at Request.callListeners (bundle.js:19418) at callNextListener (bundle.js:19398) at EventEmitter.onEnd (bundle.js:14556) at EventEmitter../node_modules/events/events.js.EventEmitter.emit (bundle.js:36627) at features.constructor.finishRequest (bundle.js:15196) at XMLHttpRequest.<anonymous> (bundle.js:15111)

Thanks

baus commented 6 years ago

I'm seeing this problem as well