- small change; debug message added

This commit is contained in:
Marius Stanciu
2019-08-10 15:19:47 +03:00
parent 4a7ff22c8e
commit a81471a7c8

View File

@@ -767,7 +767,8 @@ class NonCopperClear(FlatCAMTool, Gerber):
else:
env_obj = self.bound_obj.solid_geometry.convex_hull
bounding_box = env_obj.buffer(distance=margin, join_style=base.JOIN_STYLE.mitre)
except AttributeError:
except Exception as e:
log.debug("NonCopperClear.on_ncc() --> %s" % str(e))
self.app.inform.emit(_("[ERROR_NOTCL] No object available."))
return