aboutsummaryrefslogtreecommitdiffstats
path: root/tools/migration/prosody-migrator.lua
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2017-04-08 00:48:15 +0200
committerKim Alvefur <zash@zash.se>2017-04-08 00:48:15 +0200
commit0bdb7ab1f9104098e894c2acd033bc205081f61a (patch)
treebc8f7022567cc5611e86b0f5636e9d8f9f35e46f /tools/migration/prosody-migrator.lua
parentfb36acd6eeb0316a068acc3ac4dd3584869500b9 (diff)
parentf345e640e57e716ccfd94c3eec2a77670e932936 (diff)
downloadprosody-0bdb7ab1f9104098e894c2acd033bc205081f61a.tar.gz
prosody-0bdb7ab1f9104098e894c2acd033bc205081f61a.zip
Merge 0.10->trunk
Diffstat (limited to 'tools/migration/prosody-migrator.lua')
-rw-r--r--tools/migration/prosody-migrator.lua9
1 files changed, 2 insertions, 7 deletions
diff --git a/tools/migration/prosody-migrator.lua b/tools/migration/prosody-migrator.lua
index 6cff9f67..1219d891 100644
--- a/tools/migration/prosody-migrator.lua
+++ b/tools/migration/prosody-migrator.lua
@@ -77,13 +77,8 @@ function load_store_handler(name)
else
local ok, err = pcall(require, "migrator."..store_type);
if not ok then
- if package.loaded["migrator."..store_type] then
- print(("Error: Failed to initialize '%s' store:\n\t%s")
- :format(name, err));
- else
- print(("Error: Unrecognised store type for '%s': %s")
- :format(from_store, store_type));
- end
+ print(("Error: Failed to initialize '%s' store:\n\t%s")
+ :format(name, err));
return false;
end
end