mirror of
https://github.com/ElementsProject/lightning.git
synced 2025-01-18 05:12:45 +01:00
tools: add handy debug error
This commit is contained in:
parent
3f1f075421
commit
6f85088b2b
@ -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]
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user