mirror of
https://github.com/aljazceru/lightning.git
synced 2026-02-05 22:24:25 +01:00
tools: add handy debug error
This commit is contained in:
committed by
Rusty Russell
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]
|
||||
|
||||
|
||||
Reference in New Issue
Block a user