diff --git a/tclCommands/TclCommand.py b/tclCommands/TclCommand.py index 57e4a9d1..24f8295f 100644 --- a/tclCommands/TclCommand.py +++ b/tclCommands/TclCommand.py @@ -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) \ No newline at end of file diff --git a/tclCommands/TclCommandDrillcncjob.py b/tclCommands/TclCommandDrillcncjob.py index 17441967..f65931fd 100644 --- a/tclCommands/TclCommandDrillcncjob.py +++ b/tclCommands/TclCommandDrillcncjob.py @@ -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': []