Просмотр исходного кода

remove raise, it does not kill app, but raise is unnecessary here

Kamil Sopko 10 лет назад
Родитель
Сommit
fd869ad88c
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      FlatCAMApp.py

+ 1 - 1
FlatCAMApp.py

@@ -663,7 +663,7 @@ class App(QtCore.QObject):
             result = self.tcl.eval("set errorInfo")
             result = self.tcl.eval("set errorInfo")
             self.log.error("Exec command Exception: %s" % (str(e)+ '\n' + result + '\n'))
             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: ' + str(e) + '\n' + result + '\n')
-            raise e
+            #show error in console and just return
         return
         return
 
 
         """
         """