mirror of https://github.com/kiwix/libkiwix.git
+ better exception management
This commit is contained in:
parent
f165747f16
commit
63c210db1c
|
@ -280,7 +280,8 @@ namespace kiwix {
|
||||||
}
|
}
|
||||||
|
|
||||||
delete reader;
|
delete reader;
|
||||||
} catch (...) {
|
} catch (const std::exception& e) {
|
||||||
|
std::cerr << e.what() << std::endl;
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue