Error Handling Improved Widelly

This commit is contained in:
Luis Fernando Molina committed 2018-05-08 20:56:32 +02:00
1 parent 0fe25a570c
commit 7a0a6f6c04
14 files changed
+358 -238

No files matched your search

+2 -2
View File
@@ -83,14 +83,14 @@ function newSingleFile() {
} catch (err) {
if (ERROR_LOG === true) { logger.write("[ERROR] initialize -> onFileReceived -> err = " + err); }
callBackFunction(GLOBAL.CUSTOM_FAIL_RESPONSE);
callBackFunction(GLOBAL.DEFAULT_FAIL_RESPONSE);
}
}
} catch (err) {
if (ERROR_LOG === true) { logger.write("[ERROR] initialize -> err = " + err); }
callBackFunction(GLOBAL.CUSTOM_FAIL_RESPONSE);
callBackFunction(GLOBAL.DEFAULT_FAIL_RESPONSE);
}
}