Merge pull request #2046 from vross/master

datasource_cache: display correctly the error message
This commit is contained in:
Artem Pavlenko 2013-10-22 08:24:35 -07:00
commit 7b2765c990

View file

@ -88,11 +88,11 @@ datasource_ptr datasource_cache::create(parameters const& params)
s += *type + "'";
if (plugin_directories_.empty())
{
s + " (no datasource plugin directories have been successfully registered)";
s += " (no datasource plugin directories have been successfully registered)";
}
else
{
s + " (searched for datasource plugins in '" + plugin_directories() + "')";
s += " (searched for datasource plugins in '" + plugin_directories() + "')";
}
throw config_error(s);
}