From 235df86cdac80461b9f520f29d34a3bef23e284c Mon Sep 17 00:00:00 2001 From: Matias Date: Wed, 10 Jul 2019 09:11:41 -0300 Subject: [PATCH] Fixing issue with market rate from file --- Assistant.js | 2 +- docker-compose.yml | 2 +- package.json | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Assistant.js b/Assistant.js index e63fe4932..23b0b707e 100644 --- a/Assistant.js +++ b/Assistant.js @@ -158,7 +158,7 @@ let candleArray; if (err.result === global.CUSTOM_FAIL_RESPONSE.result) { // Just past midnight, this file will not exist for a couple of minutes. - if (err.message === "File does not exist.") { + if (err.message === "File does not exist." || err.message === "The specified key does not exist.") { callBackFunction(global.DEFAULT_RETRY_RESPONSE); return; } diff --git a/docker-compose.yml b/docker-compose.yml index 7f531bd5b..9a637ba97 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -1,7 +1,7 @@ version: '3' services: node: - image: superalgos/clone-executor:1.0.40 + image: superalgos/clone-executor:1.0.41 build: context: . dockerfile: ./Dockerfile diff --git a/package.json b/package.json index bf4cdac65..6b26e1d8f 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@superalgos/clone-executor", - "version": "1.0.40", + "version": "1.0.41", "description": "Module responsible for executing the bots on the cloud.", "author": "Superalgos, ltd.", "license": "Apache-2.0",