Slightly improved debug message

This commit is contained in:
Phil Howard 2017-01-15 18:01:37 +00:00
parent 205c59919d
commit 929cfedff9
1 changed files with 1 additions and 1 deletions

View File

@ -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