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
commit43db72be07987925dce775f19bf944cdea30126d (patch)
tree8207455bc0e72f2f7955da04baea8430eb7e93b0
parent8bb1169606e0b30f820adf68d93027037015211d (diff)
downloadprosody-43db72be07987925dce775f19bf944cdea30126d.tar.gz
prosody-43db72be07987925dce775f19bf944cdea30126d.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