diff options
Diffstat (limited to 'gerbonara/cad/primitives.py')
-rw-r--r-- | gerbonara/cad/primitives.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gerbonara/cad/primitives.py b/gerbonara/cad/primitives.py index 28347b5..9a9a373 100644 --- a/gerbonara/cad/primitives.py +++ b/gerbonara/cad/primitives.py @@ -77,7 +77,7 @@ class Board: for ko in self.keepouts: if obj.overlaps(ko, unit=MM): if keepout_errors == 'warn': - warnings.warn(msg) + warnings.warn(f'Object with bounds {obj.bounding_box(MM)} [mm] hits one or more keepout areas') elif keepout_errors == 'raise': raise KeepoutError(obj, ko, msg) return |