remove duplicity when print error

This commit is contained in:
Kamil Sopko
2016-03-01 18:22:57 +01:00
parent fd869ad88c
commit 2cc3d811c5

View File

@@ -662,7 +662,7 @@ class App(QtCore.QObject):
#this will display more precise answer if something in TCL shell fail
result = self.tcl.eval("set errorInfo")
self.log.error("Exec command Exception: %s" % (str(e)+ '\n' + result + '\n'))
self.shell.append_error('ERROR: ' + str(e) + '\n' + result + '\n')
self.shell.append_error('ERROR: ' + result + '\n')
#show error in console and just return
return