Catch boost::system::system_error when loading frontend

This commit is contained in:
Jan Kaluza 2016-01-29 08:21:13 +01:00
parent efd60bd374
commit 3a7c516129

View file

@ -227,8 +227,9 @@ int mainloop() {
try { try {
creator = self.get_alias<boost::shared_ptr<FrontendPlugin>()>(plugin_fc); creator = self.get_alias<boost::shared_ptr<FrontendPlugin>()>(plugin_fc);
} } catch(boost::system::system_error& e) {
catch (...) { LOG4CXX_ERROR(logger, "Error when loading frontend " << e.what());
return -3;
} }
if (!creator) { if (!creator) {