-
-
Notifications
You must be signed in to change notification settings - Fork 597
Closed
Description
Hi I'm using "parse": "^1.9.2".
the problem is present when trying to login with invalid user, it generate an error.
when using:
Parse.User.logIn(email,pass,{success:u=>do_some_stuff(u),error:e=>show_the_error_message(e)})
an error is loged to the console and the error function is fired:
but when using the promises:
Parse.User.logIn(email,pass).then(u=>do_some_stuff(u)).catch(e=>show_the_error_message(e))
it only log the error on the console and do not resolve or reject the promise.
How this is happening and to fix it.
edit:
Parse.User.logIn
instead of Parse.logIn
shkesar
Metadata
Metadata
Assignees
Labels
No labels