mirror of
https://github.com/webrecorder/pywb.git
synced 2025-03-24 06:59:52 +01:00
More detailed logging of invalid cdxlines. (#478)
This commit is contained in:
parent
9282973ed0
commit
14f7aad5eb
@ -149,7 +149,7 @@ class CDXObject(OrderedDict):
|
|||||||
cdxformat = i
|
cdxformat = i
|
||||||
|
|
||||||
if not cdxformat:
|
if not cdxformat:
|
||||||
msg = 'unknown {0}-field cdx format'.format(len(fields))
|
msg = 'unknown {0}-field cdx format: {1}'.format(len(fields), fields)
|
||||||
raise CDXException(msg)
|
raise CDXException(msg)
|
||||||
|
|
||||||
for header, field in zip(cdxformat, fields):
|
for header, field in zip(cdxformat, fields):
|
||||||
|
Loading…
x
Reference in New Issue
Block a user