mirror of
https://github.com/kiwix/libkiwix.git
synced 2025-06-28 05:49:35 +00:00
+ better exception management
This commit is contained in:
@ -280,7 +280,8 @@ namespace kiwix {
|
||||
}
|
||||
|
||||
delete reader;
|
||||
} catch (...) {
|
||||
} catch (const std::exception& e) {
|
||||
std::cerr << e.what() << std::endl;
|
||||
return false;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user