Changeset

4075:c082ded3b5f1

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
parents 4074:d2c9d9f569f9
children 4076:00ce99071368
files core/storagemanager.lua
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
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