ovh / node-ovh

Node.js wrapper for the OVH APIs
http://ovh.github.io/node-ovh
Other
129 stars 27 forks source link

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

Open DSpeichert opened 8 years ago

DSpeichert commented 8 years ago

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 commented 8 years ago

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

DSpeichert commented 8 years ago

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