Logging Improved
This commit is contained in:
1 parent
2c9e62f1b6
commit
adca0b8d9e
2 files changed
+20
-6
No files matched your search
@@ -146,6 +146,8 @@ exports.newRoot = function newRoot() {
|
||||
|
||||
function onInizialized(err) {
|
||||
|
||||
console.log(logDisplace + "Root : [INFO] initialize -> onInizialized -> Entering function. ");
|
||||
|
||||
if (err.result === global.DEFAULT_OK_RESPONSE.result) {
|
||||
|
||||
let filePath;
|
||||
@@ -170,6 +172,8 @@ exports.newRoot = function newRoot() {
|
||||
|
||||
function onFileReceived(err, text) {
|
||||
|
||||
console.log(logDisplace + "Root : [INFO] initialize -> onInizialized -> onFileReceived -> Entering function. ");
|
||||
|
||||
if (err.result !== global.DEFAULT_OK_RESPONSE.result) {
|
||||
console.log(logDisplace + "Root : [INFO] initialize -> onInizialized -> onFileReceived -> err = " + err.message);
|
||||
return;
|
||||
|
||||
Reference in new issue
Block a user