Software /
code /
prosody
Diff
core/storagemanager.lua @ 4009:71b2c1dcf26d
storagemanager: Log host in message when loading storage provider fails
author | Matthew Wild <mwild1@gmail.com> |
---|---|
date | Thu, 06 Jan 2011 13:54:37 +0000 |
parent | 3774:9189ed18c3c9 |
child | 4010:21311bd31f6b |
line wrap: on
line diff
--- a/core/storagemanager.lua Thu Jan 06 13:47:20 2011 +0000 +++ b/core/storagemanager.lua Thu Jan 06 13:54:37 2011 +0000 @@ -48,7 +48,7 @@ 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