Skip to content

API needs to handle connection resets or at least pass the exception #4

@ghost

Description

There are many cases where CEX.io is resetting the connection for whatever reason.
The API needs to be able to handle this situation more gracefully.

Example of error...

events.js:72
throw er; // Unhandled 'error' event
^
Error: read ECONNRESET

Please modify the code so it either re-tries after a set backoff, or at a minimum catches the exception and passes it back using the standard function(err, data){} style that is the norm in node.js

Thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions