Merge pull request #210 from kiwix/no_error_message

Remove error message when trying to opening a wrong zim file.
This commit is contained in:
Matthieu Gautier 2019-04-02 16:02:47 +02:00 committed by GitHub
commit d9e72685ba
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 0 additions and 1 deletions

View File

@ -217,7 +217,6 @@ bool Manager::readBookFromPath(const std::string& path, kiwix::Book* book)
book->update(reader);
book->setPathValid(true);
} catch (const std::exception& e) {
std::cerr << "Invalid " << tmp_path << " : " << e.what() << std::endl;
book->setPathValid(false);
return false;
}