Unnecesario logging

This commit is contained in:
Luis Fernando Molina committed 2019-09-25 17:38:16 +02:00
1 parent c4fb8e0070
commit 4e064c5f32
1 file changed
+1 -3
+1 -3
View File
@@ -117,9 +117,7 @@ function newRestartSimulation () {
} else {
callServer('', 'ResetLogsAndData', onSaved)
function onSaved (err) {
if (err.result === GLOBAL.DEFAULT_OK_RESPONSE.result) {
logger.write('[INFO] Restart Simulation -> Logs and Simulation data Deleted.')
} else {
if (err.result !== GLOBAL.DEFAULT_OK_RESPONSE.result) {
logger.write('[ERROR] Restart Simulation -> Can not delete Logs and Simulation data. err = ' + err.messsage)
}
}