datasource_cache: display correctly the error message
This commit is contained in:
parent
cb04fc0b34
commit
771964a770
1 changed files with 2 additions and 2 deletions
|
@ -89,11 +89,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