From 929cfedff98e7ec1928bbb35d09e922c6ac95002 Mon Sep 17 00:00:00 2001 From: Phil Howard Date: Sun, 15 Jan 2017 18:01:37 +0000 Subject: [PATCH] Slightly improved debug message --- generate-html.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/generate-html.py b/generate-html.py index 62b8291..f813bfa 100755 --- a/generate-html.py +++ b/generate-html.py @@ -185,7 +185,7 @@ def load_overlay(overlay): if actual_pin['type'] in ['+3v3', '+5v', 'GND'] and overlay != 'ground': raise Exception( - "{} includes a reference to a {} pin, which isn't allowed".format(overlay, actual_pin['type'])) + "{} includes a reference to a {} pin ({}), which isn't allowed".format(overlay, actual_pin['type'], pin)) else: uses += 1