Error Logging Improved

This commit is contained in:
Luis Fernando Molina committed 2019-04-10 13:51:34 +02:00
1 parent f665ebf6a7
commit 2bb58adadc
15 files changed
+71 -72

No files matched your search

+1 -1
View File
@@ -46,7 +46,7 @@ function newTimeMachine () {
chart.finalize()
}
} catch (err) {
if (ERROR_LOG === true) { logger.write('[ERROR] finalize -> err = ' + err) }
if (ERROR_LOG === true) { logger.write('[ERROR] finalize -> err = ' + err.stack) }
}
}