Closed CodeCook83 closed 6 years ago
Thanks for reporting it. It also shows up in a test case and I've been meaning to investigate it for a while. Will look into that later today.
Thank you for taking care of my report. Hope one day I'll be able to fix something like that myself :-)
Sorry for taking so long on this, I had my hands full recently as i did a bunch of business travels and workshops, so i really didn't have the capacity to clean this up earlier. After bashing my head against the wall for a while, i found the issue: a missing await
. head -> desk. thanks for the patience :)
greetings from nullcon at goa, india.
Hi @felixhammerl it worked great. I treated the error handling as follows:
Could you tell me if my way is alright or if I forgot to insert a "message"?
Hi,
I get an UnhandledPromiseRejectionWarning in the console when I try to test the connection with an incorrect password. Both tests with correct and incorrect auth data, pass through the .then() function of the client.connect().
How can I tell the user that his credentials are wrong? Maybe over the .catch() function and then over the $.get().fail()? How can I catch this information?
My request comes via $.get from the view to app.js. After that it passes to my controller, where I process a method to validate the connection data.
Thanks a lot
Plattform: OS: dev: macOS High Sierra 10.13.3; prod: heroku Node: 9.4.0 npm: 5.6.0 jQuery: 3.3.1
The warning (or error?)
main.js (client)
router.js
controller.js