diff --git a/CloudVM/PoloniexAPIClient.js b/CloudVM/PoloniexAPIClient.js index f292d0ff1..e8f124edb 100644 --- a/CloudVM/PoloniexAPIClient.js +++ b/CloudVM/PoloniexAPIClient.js @@ -50,10 +50,11 @@ stringExchangeResponse.indexOf("Connection timed out") > 0 || stringExchangeResponse.indexOf("Connection Error") > 0 || stringExchangeResponse.indexOf("Bad gateway") > 0 || + stringExchangeResponse.indexOf("Nonce must be greater than") > 0 || stringExchangeResponse.indexOf("Internal error. Please try again") > 0))) { - logger.write(MODULE_NAME, "[WARN] analizeResponse -> Timeout reached or connection problem while trying to access the Exchange API. Requesting new execution later."); - logger.write(MODULE_NAME, "[WARN] analizeResponse -> stringExchangeErr = " + stringExchangeErr); + logger.write(MODULE_NAME, "[ERROR] analizeResponse -> Somethng bad happened while trying to access the Exchange API. Requesting new execution later."); + logger.write(MODULE_NAME, "[ERROR] analizeResponse -> stringExchangeErr = " + stringExchangeErr); notOkCallBack(window.DEFAULT_RETRY_RESPONSE); return; diff --git a/Exchanges/PoloniexAPIClient.js b/Exchanges/PoloniexAPIClient.js index 328f88f40..f1950f295 100644 --- a/Exchanges/PoloniexAPIClient.js +++ b/Exchanges/PoloniexAPIClient.js @@ -432,10 +432,11 @@ stringExchangeResponse.indexOf("Connection timed out") > 0 || stringExchangeResponse.indexOf("Connection Error") > 0 || stringExchangeResponse.indexOf("Bad gateway") > 0 || + stringExchangeResponse.indexOf("Nonce must be greater than") > 0 || stringExchangeResponse.indexOf("Internal error. Please try again") > 0))) { - logger.write(MODULE_NAME, "[WARN] analizeResponse -> Timeout reached or connection problem while trying to access the Exchange API. Requesting new execution later."); - logger.write(MODULE_NAME, "[WARN] analizeResponse -> stringExchangeErr = " + stringExchangeErr); + logger.write(MODULE_NAME, "[ERROR] analizeResponse -> Somethng bad happened while trying to access the Exchange API. Requesting new execution later."); + logger.write(MODULE_NAME, "[ERROR] analizeResponse -> stringExchangeErr = " + stringExchangeErr); notOkCallBack(global.DEFAULT_RETRY_RESPONSE); return;