BUG on delete of status reports and execution context

This commit is contained in:
Luis Fernando Molina committed 2018-07-22 17:03:57 +02:00
1 parent 17fbda6e4c
commit d46585535b
1 file changed
+6
+6
View File
@@ -95,6 +95,12 @@ function newDeleteTradingHistory() {
function onStatusReport(err, text, response) {
if (err.code === 'BlobNotFound') {
console.log(statusReportFilePath + "/" + statusReportFileName + " not found. No history detected for this start mode.");
return;
}
let statusReport = JSON.parse(text);
let toBeDeleted = 0;