mirror of https://github.com/kiwix/libkiwix.git
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:
commit
d9e72685ba
|
@ -217,7 +217,6 @@ bool Manager::readBookFromPath(const std::string& path, kiwix::Book* book)
|
||||||
book->update(reader);
|
book->update(reader);
|
||||||
book->setPathValid(true);
|
book->setPathValid(true);
|
||||||
} catch (const std::exception& e) {
|
} catch (const std::exception& e) {
|
||||||
std::cerr << "Invalid " << tmp_path << " : " << e.what() << std::endl;
|
|
||||||
book->setPathValid(false);
|
book->setPathValid(false);
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue