Skip to content
Snippets Groups Projects
Commit 99bc86f0 authored by jpbl's avatar jpbl
Browse files

we have better handling of std::exceptions

parent 7eaf74d0
Branches
Tags
No related merge requests found
......@@ -45,6 +45,10 @@ main (int argc, char **argv) {
Manager::instance().init();
initOK = true;
}
catch (std::exception &e) {
std::cerr << e.what() << std::endl;
exit_code = -1;
}
catch (...) {
std::cerr <<
"An exception occured when initializing the system." <<
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment