From d40982f760217655360eada288fa8bd58f9f8f40 Mon Sep 17 00:00:00 2001 From: Matthieu Gautier Date: Tue, 2 Apr 2019 15:28:46 +0200 Subject: [PATCH] Remove error message when trying to opening a wrong zim file. The library should not print a message. Fix kiwix/kiwix-tools#235 --- src/manager.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/src/manager.cpp b/src/manager.cpp index db926f49d..2f97ffddc 100644 --- a/src/manager.cpp +++ b/src/manager.cpp @@ -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; }