jparis / qrs-interact

Inactive - QRS Interact is a simple javascript library that allows users to send queries to the Qlik Sense Repository Service.
GNU General Public License v3.0
10 stars 7 forks source link

Warning: `(node:126) Warning: a promise was rejected with a non-error: [object String]` #68

Closed sobolevn closed 4 years ago

sobolevn commented 4 years ago

This happens because these lines reject with string type (and many other lines too):

It should be:

reject(new Error('...'))
jparis commented 4 years ago

Will take a look and update. Thanks.

jparis commented 4 years ago

fixed in 6.1.0