fix display also for nonsignaled exceptions in execute_wrapper
This commit is contained in:
parent
b98954dccd
commit
c2cdaaf452
@ -393,5 +393,7 @@ class TclCommandSignaled(TclCommand):
|
|||||||
return self.output
|
return self.output
|
||||||
|
|
||||||
except Exception as unknown:
|
except Exception as unknown:
|
||||||
|
error_info=sys.exc_info()
|
||||||
self.log.error("TCL command '%s' failed." % str(self))
|
self.log.error("TCL command '%s' failed." % str(self))
|
||||||
|
self.app.display_tcl_error(unknown, error_info)
|
||||||
self.raise_tcl_unknown_error(unknown)
|
self.raise_tcl_unknown_error(unknown)
|
@ -39,7 +39,7 @@ class TclCommandDrillcncjob(TclCommand.TclCommandSignaled):
|
|||||||
('travelz', 'Travel distance above material (example: 2.0).'),
|
('travelz', 'Travel distance above material (example: 2.0).'),
|
||||||
('feedrate', 'Drilling feed rate.'),
|
('feedrate', 'Drilling feed rate.'),
|
||||||
('spindlespeed', 'Speed of the spindle in rpm (example: 4000).'),
|
('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.')
|
('outname', 'Name of the resulting Geometry object.')
|
||||||
]),
|
]),
|
||||||
'examples': []
|
'examples': []
|
||||||
|
Loading…
Reference in New Issue
Block a user