new config

This commit is contained in:
Luis Fernando Molina committed 2018-03-05 03:21:33 +01:00
1 parent 091dfdc028
commit cbd5b794ef
5 files changed
+37 -6

No files matched your search

+1 -1
View File
@@ -1362,7 +1362,7 @@
if (err || exchangeResponse.error !== undefined) {
try {
if (err.message.indexOf("ETIMEDOUT") > 0) {
if (err.message.indexOf("ETIMEDOUT") > 0 || err.message.indexOf("Order execution timed out") > 0) {
const logText = "[WARN] movePositionAtExchange - onExchangeCallReturned - Timeout reached while trying to access the Exchange API. Requesting new execution later. : ERROR = " + err.message;
logger.write(logText);