From 8665d4c90da4c95d460fa0195f4ccb38052348ef Mon Sep 17 00:00:00 2001 From: Marius Stanciu Date: Wed, 12 Feb 2020 17:15:34 +0200 Subject: [PATCH] - added a debug message --- FlatCAMApp.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/FlatCAMApp.py b/FlatCAMApp.py index b1eca4af..cbbdee3b 100644 --- a/FlatCAMApp.py +++ b/FlatCAMApp.py @@ -7162,8 +7162,10 @@ class App(QtCore.QObject): try: obj_active.annotation.clear(update=True) obj_active.annotation.enabled = False - except AttributeError: - pass + except AttributeError as e: + log.debug( + "App.on_delete() --> delete annotations on a FlatCAMCNCJob object. %s" % str(e) + ) self.delete_first_selected() self.inform.emit('%s...' % _("Object(s) deleted"))