aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthew Wild <mwild1@gmail.com>2011-01-06 13:54:37 +0000
committerMatthew Wild <mwild1@gmail.com>2011-01-06 13:54:37 +0000
commitbff25e156258ef4b334aa98e075b1b468cb82957 (patch)
tree129eeb8e9455352c35555776fb8aca8297831bfd
parent9044bff7aee8a49280b54e811645e4c0206d06ac (diff)
downloadprosody-bff25e156258ef4b334aa98e075b1b468cb82957.tar.gz
prosody-bff25e156258ef4b334aa98e075b1b468cb82957.zip
storagemanager: Log host in message when loading storage provider fails
-rw-r--r--core/storagemanager.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/storagemanager.lua b/core/storagemanager.lua
index 43409960..49987112 100644
--- a/core/storagemanager.lua
+++ b/core/storagemanager.lua
@@ -48,7 +48,7 @@ local function load_driver(host, driver_name)
if driver_name ~= "internal" then
local ok, err = modulemanager.load(host, "storage_"..driver_name);
if not ok then
- log("error", "Failed to load storage driver plugin %s: %s", driver_name, err);
+ log("error", "Failed to load storage driver plugin %s on %s: %s", driver_name, host, err);
end
return stores_available:get(host, driver_name);
else