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 {
creator = self.get_alias<boost::shared_ptr<FrontendPlugin>()>(plugin_fc);
}
catch (...) {
} catch(boost::system::system_error& e) {
LOG4CXX_ERROR(logger, "Error when loading frontend " << e.what());
return -3;
}
if (!creator) {