Process Functions

This commit is contained in:
Luis Fernando Molina committed 2020-11-27 13:36:25 +01:00
1 parent da5e50bf85
commit 658dc4714a
8 files changed
+74 -57

No files matched your search

@@ -653,7 +653,7 @@ exports.newLearningBot = function newLearningBot(bot, parentLogger) {
function processStopped() {
if (global.unexpectedError !== undefined) {
global.PROCESS_ERROR(bot.processKey, undefined, "An unexpected error caused the Process to stop.")
TS.projects.superalgos.functionLibraries.processFunctions.processError(bot.processKey, undefined, "An unexpected error caused the Process to stop.")
} else {
global.EVENT_SERVER_CLIENT_MODULE.raiseEvent(bot.processKey, 'Stopped')
}