Changeset

4662:105423f77d46

modulemanager: Report errors that happen when loading a shared module onto its original host
author Matthew Wild <mwild1@gmail.com>
date Mon, 23 Apr 2012 14:11:10 +0100
parents 4661:76db5d0a2104
children 4663:24524d70a50a
files core/modulemanager.lua
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/core/modulemanager.lua	Mon Apr 23 14:10:04 2012 +0100
+++ b/core/modulemanager.lua	Mon Apr 23 14:11:10 2012 +0100
@@ -186,7 +186,7 @@
 			end
 			if host ~= api_instance.host and module_has_method(pluginenv, "add_host") then
 				-- Now load the module again onto the host it was originally being loaded on
-				do_load_module(host, module_name);
+				ok, err = do_load_module(host, module_name);
 			end
 		end
 	end