Task Error event working
This commit is contained in:
1 parent
e404047a07
commit
1f11ad549c
7 files changed
+194
-271
No files matched your search
+1
-1
@@ -124,7 +124,7 @@ exports.newDebugLog = function newDebugLog() {
|
||||
|
||||
function writeLog() {
|
||||
|
||||
fileStorage.createTextFile(filePath + '/' + fileName, contentToPersist + '\r\n' + "]", onFileCreated);
|
||||
fileStorage.createTextFile(filePath + '/' + fileName, contentToPersist + '\r\n' + "]", onFileCreated, undefined, true);
|
||||
function onFileCreated(err) {
|
||||
if (err.result !== global.DEFAULT_OK_RESPONSE.result) {
|
||||
console.log("[ERROR] DebugLog -> persist -> onInizialized -> onFileCreated -> err = " + err.message);
|
||||
|
||||
Reference in new issue
Block a user