Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Incorrect password throws error #13

Open
drmrbrewer opened this issue Mar 15, 2019 · 1 comment
Open

Incorrect password throws error #13

drmrbrewer opened this issue Mar 15, 2019 · 1 comment
Labels
enhancement Something could be done better

Comments

@drmrbrewer
Copy link
Contributor

When I deploy an app and the auth token is no longer valid, it prompts for a password. If I type it in wrong, it doesn't fail gracefully with a polite message, it gives the following unhandled promise rejection error message:

(node:3095) UnhandledPromiseRejectionWarning: Error: Password is incorrect.
	at ErrorFactory.createError (/usr/lib/node_modules/caprover/built/utils/ErrorFactory.js:19:17)
	at /usr/lib/node_modules/caprover/built/api/HttpClient.js:68:50
(node:3095) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 4)
(node:3095) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.
@githubsaturn githubsaturn added the enhancement Something could be done better label Mar 18, 2019
@Hazzard17h
Copy link
Contributor

I think this is resolved from #16

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Something could be done better
Projects
None yet
Development

No branches or pull requests

3 participants