Mercurial > hg > svcore
diff transform/TransformFactory.cpp @ 1227:5d886b7b4029 piper
Error reporting for Piper server startup
author | Chris Cannam |
---|---|
date | Fri, 21 Oct 2016 16:24:30 +0100 |
parents | ba16388b937d |
children | a99641535e02 |
line wrap: on
line diff
--- a/transform/TransformFactory.cpp Fri Oct 21 14:51:22 2016 +0100 +++ b/transform/TransformFactory.cpp Fri Oct 21 16:24:30 2016 +0100 @@ -405,8 +405,12 @@ { FeatureExtractionPluginFactory *factory = FeatureExtractionPluginFactory::instance(); - - std::vector<QString> plugs = factory->getPluginIdentifiers(); + + QString errorMessage; + std::vector<QString> plugs = factory->getPluginIdentifiers(errorMessage); + if (errorMessage != "") { + m_errorString = tr("Failed to list Vamp plugins: %1").arg(errorMessage); + } if (m_exiting) return;