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 {
|
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) {
|
||||||
|
|
Loading…
Add table
Reference in a new issue