fix display also for nonsignaled exceptions in execute_wrapper

This commit is contained in:
Kamil Sopko 2016-04-03 14:37:40 +02:00
parent b98954dccd
commit c2cdaaf452
2 changed files with 3 additions and 1 deletions

View File

@ -393,5 +393,7 @@ class TclCommandSignaled(TclCommand):
return self.output
except Exception as unknown:
error_info=sys.exc_info()
self.log.error("TCL command '%s' failed." % str(self))
self.app.display_tcl_error(unknown, error_info)
self.raise_tcl_unknown_error(unknown)

View File

@ -39,7 +39,7 @@ class TclCommandDrillcncjob(TclCommand.TclCommandSignaled):
('travelz', 'Travel distance above material (example: 2.0).'),
('feedrate', 'Drilling feed rate.'),
('spindlespeed', 'Speed of the spindle in rpm (example: 4000).'),
('toolchange', 'Enable tool changes (example: 1).'),
('toolchange', 'Enable tool changes (example: True).'),
('outname', 'Name of the resulting Geometry object.')
]),
'examples': []