Catch boost::system::system_error when loading frontend
This commit is contained in:
parent
efd60bd374
commit
3a7c516129
1 changed files with 4 additions and 3 deletions
|
@ -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) {
|
||||
|
|
Loading…
Add table
Reference in a new issue