Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merge #13

Merged
merged 12 commits into from
Aug 20, 2018
Prev Previous commit
Next Next commit
[GB] catch DNS error
  • Loading branch information
askmike committed Aug 18, 2018
commit 90b52d7162b1ea863063aaa0948554ddd478ba7a
4 changes: 3 additions & 1 deletion exchange/wrappers/binance.js
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,9 @@ const recoverableErrors = [
'Response code 5',
'Response code 403',
'ETIMEDOUT',
'EHOSTUNREACH'
'EHOSTUNREACH',
// getaddrinfo EAI_AGAIN api.binance.com api.binance.com:443
'EAI_AGAIN'
];

const includes = (str, list) => {
Expand Down