From bc36df17827836920e58bd1a74195627ef1177ee Mon Sep 17 00:00:00 2001 From: Matias Date: Sat, 4 May 2019 23:43:46 -0300 Subject: [PATCH] Error when there is no execution context --- Context.js | 2 +- docker-compose.prod.yml | 2 +- package.json | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Context.js b/Context.js index 7026378d1..b10e96636 100644 --- a/Context.js +++ b/Context.js @@ -423,7 +423,7 @@ if(fileContent === undefined){ logger.write(MODULE_NAME, "[ERROR] saveThemAll -> writeExecutionContext -> executionContext is undefined."); - callBackFunction(global.DEFAULT_RETRY_RESPONSE); + callBackFunction(global.DEFAULT_ERROR_RESPONSE); } if (global.LOG_CONTROL[MODULE_NAME].logInfo === true) { logger.write(MODULE_NAME, "[INFO] saveThemAll -> writeExecutionContext -> fileName = " + fileName); } diff --git a/docker-compose.prod.yml b/docker-compose.prod.yml index f53e3dabf..cca595d56 100644 --- a/docker-compose.prod.yml +++ b/docker-compose.prod.yml @@ -1,7 +1,7 @@ version: '3' services: node: - image: superalgos/clone-executor:1.0.9 + image: superalgos/clone-executor:1.0.10 build: context: . dockerfile: ./Dockerfile diff --git a/package.json b/package.json index b5dadd98a..eb7026b7a 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@superalgos/clone-executor", - "version": "1.0.9", + "version": "1.0.10", "description": "Module responsible for executing the bots on the cloud.", "author": "Superalgos, ltd.", "license": "Apache-2.0",