1
0
mirror of https://github.com/webrecorder/pywb.git synced 2025-03-15 00:03:28 +01:00

More detailed logging of invalid cdxlines. (#478)

This commit is contained in:
Rebecca Lynn Cremona 2019-06-20 00:51:31 -04:00 committed by Ilya Kreymer
parent d74d4f92a3
commit 178413fe0c

View File

@ -149,7 +149,7 @@ class CDXObject(OrderedDict):
cdxformat = i
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)
for header, field in zip(cdxformat, fields):