From 2ab7d55007248389b47e61b665f7acd8732456d7 Mon Sep 17 00:00:00 2001 From: Kim Alvefur Date: Mon, 12 Mar 2018 16:05:08 +0100 Subject: MUC: Say something about storage failure before aborting (see #1091) --- plugins/muc/mod_muc.lua | 1 + 1 file changed, 1 insertion(+) (limited to 'plugins') 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 -- cgit v1.2.3