+ better exception management

This commit is contained in:
kelson42 2012-10-14 11:39:21 +00:00
parent f165747f16
commit 63c210db1c
1 changed files with 2 additions and 1 deletions

View File

@ -280,7 +280,8 @@ namespace kiwix {
}
delete reader;
} catch (...) {
} catch (const std::exception& e) {
std::cerr << e.what() << std::endl;
return false;
}