Merge pull request #2046 from vross/master
datasource_cache: display correctly the error message
This commit is contained in:
commit
7b2765c990
1 changed files with 2 additions and 2 deletions
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue