tools: add handy debug error

This commit is contained in:
lisa neigut 2019-09-20 12:51:19 -05:00 committed by Rusty Russell
parent 3f1f075421
commit 6f85088b2b

View File

@ -601,6 +601,8 @@ def main(options, args=None, output=sys.stdout, lines=None):
if collapse:
count = 1
elif len(tokens) < 5:
raise ValueError('problem with parsing {}:{}'.format(ln, line))
else:
count = tokens[4]