Skip to content

Commit

Permalink
extend unkown color error message
Browse files Browse the repository at this point in the history
  • Loading branch information
SnowMB authored Aug 4, 2020
1 parent 23c17e6 commit ade9817
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/wireviz/wv_colors.py
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ def get_color_hex(input, pad=False):
try:
output = [_color_hex[input[i:i + 2]] for i in range(0, len(input), 2)]
except KeyError:
print("Unknown color specified")
print(f"Unknown color specified: {input}")
output = [color_default]
return output

Expand Down

0 comments on commit ade9817

Please sign in to comment.