Remove error message when trying to opening a wrong zim file.

The library should not print a message.

Fix kiwix/kiwix-tools#235
This commit is contained in:
Matthieu Gautier 2019-04-02 15:28:46 +02:00
parent 42b7692f9b
commit d40982f760
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;
}