From a56395921e329b4a1d9917f6818ee622852d2d94 Mon Sep 17 00:00:00 2001 From: rusefillc Date: Wed, 6 Mar 2024 10:01:39 -0500 Subject: [PATCH] better error message --- bin/copy_from_Kicad.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/copy_from_Kicad.py b/bin/copy_from_Kicad.py index ac8ed61..0d75ecf 100644 --- a/bin/copy_from_Kicad.py +++ b/bin/copy_from_Kicad.py @@ -166,7 +166,7 @@ with open(src_name + "-all-pos.csv", 'rt') as src_f, open(dst_name + "-CPL.csv", if (side.lower() == "bottom"): posx = str(-float(posx)) if des not in bom: - print ("Error! Designator " + des + " was not found in the BOM file!") + print ("copy_from_Kicad.py: Error! Designator [" + des + "] was not found in the BOM file!") sys.exit(2) if bom[des]: for r in rotations: