diff --git a/Multi-Period-Daily/User.bot.js b/Multi-Period-Daily/User.bot.js index 0cf0f4eb9..59654ea1a 100644 --- a/Multi-Period-Daily/User.bot.js +++ b/Multi-Period-Daily/User.bot.js @@ -779,8 +779,8 @@ Read the candles and volumes from Bruce and produce a file for each day and for } catch (err) { - const logText = "[ERROR] 'Start' - ERROR : " + err.message; - logger.write(logText); + logger.write(MODULE_NAME, "[ERROR] 'Start' - ERROR : " + err.message); + callBackFunction(global.DEFAULT_FAIL_RESPONSE); } } };