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

Commit

Permalink
Adding back response code 525
Browse files Browse the repository at this point in the history
This was accidentally dropped in all the kraken work and refactors.
  • Loading branch information
cmroche authored and askmike committed Dec 14, 2017
1 parent d1cfed7 commit 10f9d66
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion exchanges/kraken.js
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ var retryForever = {
maxTimeout: 30
};

var recoverableErrors = new RegExp(/(SOCKETTIMEDOUT|TIMEDOUT|CONNRESET|CONNREFUSED|NOTFOUND|API:Invalid nonce|Service:Unavailable|Request timed out|Response code 520|Response code 504|Response code 502)/)
var recoverableErrors = new RegExp(/(SOCKETTIMEDOUT|TIMEDOUT|CONNRESET|CONNREFUSED|NOTFOUND|API:Invalid nonce|Service:Unavailable|Request timed out|Response code 525|Response code 520|Response code 504|Response code 502)/)

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

0 comments on commit 10f9d66

Please sign in to comment.