thewca/wca-workbook-assistant

Handle corrupt database exports better

jazzthief81 opened this issue · 1 comments

When the latest database export that is stored locally is corrupt, the Workbook Assistant tries to read it and an Exception is thrown. However this prevents new database exports to be downloaded unless the user manually deletes the corrupt .tsv.zip. file.

The application now falls back on less recent local database export (if available) in case the latest local database export file is corrupted. The application will of course still always check if a more recent export can be downloaded online.