Skip to content
This repository was archived by the owner on Mar 26, 2025. It is now read-only.

Conversation

@cpavlo
Copy link

@cpavlo cpavlo commented Apr 25, 2020

Your library has a problem when a response from coinbase service is not JSON in case of error. Then promises from your library are not rejected and this causes an uncaught exception in Node.js application. Here is a fix for the problem.

@oa-coinbase
Copy link
Contributor

Hey @cpavlo thanks for the revision, could you do this with the promise library included in package.json, until we have babel transcribe es6 syntax? Just to keep it compatible with older versions of node.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants