openzim / warc2zim

Command line tool to convert a file in the WARC format to a file in the ZIM format
https://pypi.org/project/warc2zim/
GNU General Public License v3.0
40 stars 5 forks source link

Exit with cleaner message when no entries are expected in the ZIM #336

Closed benoit74 closed 4 days ago

benoit74 commented 5 days ago

See https://farm.zimit.kiwix.org/pipeline/25f26c89-7f92-4f6e-a53b-35ff2c854912/debug

We have a message Expecting 0 ZIM entries to files and then the system exits with a vague exception Unable to find WARC record for main page. When we expected 0 entries, we should quit right away.