diff options
author | Kim Alvefur <zash@zash.se> | 2018-03-12 16:05:08 +0100 |
---|---|---|
committer | Kim Alvefur <zash@zash.se> | 2018-03-12 16:05:08 +0100 |
commit | 3f204f076efbbe59ad6e6de9851e95f9643ea722 (patch) | |
tree | 840e56c3026da16932edcc0d3af717f019cbb462 | |
parent | dfad2820da9abecae9d61eba06f1083bb167c586 (diff) | |
download | prosody-3f204f076efbbe59ad6e6de9851e95f9643ea722.tar.gz prosody-3f204f076efbbe59ad6e6de9851e95f9643ea722.zip |
MUC: Say something about storage failure before aborting (see #1091)
-rw-r--r-- | plugins/muc/mod_muc.lua | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/plugins/muc/mod_muc.lua b/plugins/muc/mod_muc.lua index b32515e8..0aa7fcee 100644 --- a/plugins/muc/mod_muc.lua +++ b/plugins/muc/mod_muc.lua @@ -39,6 +39,7 @@ local rooms = rooms; local persistent_rooms_storage = module:open_store("persistent"); local persistent_rooms, err = persistent_rooms_storage:get(); if not persistent_rooms then + module:log("error", "Error loading list of persistent rooms from storage. Reload mod_muc or restart to recover."); assert(not err, err); persistent_rooms = {}; end |