You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Very often when there is an error, the promise returns an empty error, but never happened to me before.
Is it Bitstamp side or might it be in this: if (response.statusCode < 200 || response.statusCode > 299) { return reject(new Error(body)); }
where body is empty and the error is in another field?
The text was updated successfully, but these errors were encountered:
I see a similar issue reported #18 I tried to replace return reject(new Error(body)); by return reject(body); it does return the error string. For me this happened after recent changes done to the library.
Very often when there is an error, the promise returns an empty error, but never happened to me before.
Is it Bitstamp side or might it be in this:
if (response.statusCode < 200 || response.statusCode > 299) { return reject(new Error(body)); }
where body is empty and the error is in another field?
The text was updated successfully, but these errors were encountered: