Unnecesario logging
This commit is contained in:
1 parent
c4fb8e0070
commit
4e064c5f32
1 file changed
+1
-3
@@ -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)
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user