SESSION.folderName implemented
This commit is contained in:
1 parent
b3d5c293f5
commit
dba159af7a
5 files changed
+28
-10
No files matched your search
+1
-5
@@ -69,11 +69,7 @@ exports.newDebugLog = function newDebugLog() {
|
||||
let filePath = thisObject.bot.filePathRoot + "/Logs/" + thisObject.bot.process + "/"
|
||||
|
||||
if (thisObject.bot.SESSION !== undefined) {
|
||||
if (thisObject.bot.SESSION.code.folderName === undefined) {
|
||||
filePath = filePath + thisObject.bot.SESSION.id + "/" + executionDatetime;
|
||||
} else {
|
||||
filePath = filePath + thisObject.bot.SESSION.code.folderName + "/" + executionDatetime;
|
||||
}
|
||||
filePath = filePath + thisObject.bot.SESSION.folderName + "/" + executionDatetime;
|
||||
} else {
|
||||
filePath = filePath + executionDatetime;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user