From 43735a65d4c145eb8d7bf6c6e008436bcbc052b9 Mon Sep 17 00:00:00 2001 From: Vross Date: Mon, 21 Oct 2013 19:24:51 +0200 Subject: [PATCH] datasource_cache: display correctly the error message --- src/datasource_cache.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/datasource_cache.cpp b/src/datasource_cache.cpp index 992562e8f..507e1f093 100644 --- a/src/datasource_cache.cpp +++ b/src/datasource_cache.cpp @@ -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); }