8000 Warning: a promise was rejected with a non-error: [object Object] · Issue #13 · ovh/node-ovh · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Warning: a promise was rejected with a non-error: [object Object] #13

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.

8000 Already on GitHub? Sign in to your account

Open
DSpeichert opened this issue Aug 2, 2016 · 2 comments
Open
Assignees

Comments

@DSpeichert
Copy link

It seems like ovh 2.0.0 rejects promises in case of API errors with a standard object {error: 404, message: '...'} instead of a designated error type, which generates a warning.

@bnjjj
Copy link
Contributor
bnjjj commented Aug 8, 2016

Have you got examples of request that give you this kind of result please ?

@bnjjj bnjjj self-assigned this Aug 8, 2016
@DSpeichert
Copy link
Author

Any request, eg. GET /domains/doesnotexist.com

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
4335
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants
0