Log suppressed errors to log file.

This commit is contained in:
tastytea 2021-05-31 19:27:36 +02:00
parent 7a68ec6191
commit b966be3021
Signed by: tastytea
GPG Key ID: CFC39497F1B26E07
1 changed files with 1 additions and 0 deletions

View File

@ -149,6 +149,7 @@ int main(int argc, char *argv[])
{
if (opts.ignore_archive_errors && e.code == 1)
{ // File is probably not an EPUB.
LOG(lg, log::sev::info) << e.what();
return EXIT_SUCCESS;
}