Commit b38907b8 authored by IOhannes m zmölnig's avatar IOhannes m zmölnig
Browse files

printout why a record-plugin failed to load

parent c4ff30ad
......@@ -177,12 +177,14 @@ bool pix_record :: addHandle( std::vector<std::string>available, std::string ID)
gem::plugins::record *handle=NULL;
startpost("backend #%d='%s'\t", m_allhandles.size(), key.c_str());
try {
handle=gem::PluginFactory<gem::plugins::record>::getInstance(key);
handle=gem::PluginFactory<gem::plugins::record>::getInstance(key);
} catch (GemException ex) {
startpost("(%s) ", ex.what());
handle=NULL;
}
if(NULL==handle) {
post("<--- DISABLED");
break;
post("<--- DISABLED");
break;
}
endpost();
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment