mirror of https://github.com/kiwix/libkiwix.git
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:
parent
42b7692f9b
commit
d40982f760
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue