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 | ee08de33b6a298f807fb728ecea14449cbe0f08e (patch) | |
tree | 840e56c3026da16932edcc0d3af717f019cbb462 | |
parent | f78480375e800a5d7efa2c2eabb5bfba75dafc21 (diff) | |
download | prosody-ee08de33b6a298f807fb728ecea14449cbe0f08e.tar.gz prosody-ee08de33b6a298f807fb728ecea14449cbe0f08e.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 |