Skip to content
This repository has been archived by the owner on Feb 16, 2020. It is now read-only.

Commit

Permalink
Update recoverable errors
Browse files Browse the repository at this point in the history
  • Loading branch information
Paulovms authored and askmike committed Jan 30, 2018
1 parent bd5c155 commit d703a91
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion exchanges/bitfinex.js
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ var retryForever = {
};

// Probably we need to update these string
var recoverableErrors = new RegExp(/(SOCKETTIMEDOUT|TIMEDOUT|CONNRESET|CONNREFUSED|NOTFOUND|StatusCodeError: 429|StatusCodeError: 5)/)
var recoverableErrors = new RegExp(/(SOCKETTIMEDOUT|TIMEDOUT|CONNRESET|CONNREFUSED|NOTFOUND|429|443|5\d\d)/g);

Trader.prototype.processError = function(funcName, error) {
if (!error) return undefined;
Expand Down

0 comments on commit d703a91

Please sign in to comment.