Changeset - 3a7c51612939
[Not reviewed]
0 1 0
Jan Kaluza - 9 years ago 2016-01-29 08:21:13
jkaluza@redhat.com
Catch boost::system::system_error when loading frontend
1 file changed with 4 insertions and 3 deletions:
0 comments (0 inline, 0 general)
spectrum/src/main.cpp
Show inline comments
 
@@ -227,10 +227,11 @@ int mainloop() {
 

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

	
 
	if (!creator) {
 
		LOG4CXX_ERROR(logger, "Unknown Frontend name " << frontend_name);
 
		return -3;
0 comments (0 inline, 0 general)