# HG changeset patch # User Kim Alvefur # Date 1520867108 -3600 # Node ID c0e812dd9dfcb289055cbe4c3627277729f25d03 # Parent 416b8ae3857d655eb04a70f63e9359d75d76b13a MUC: Say something about storage failure before aborting (see #1091) diff -r 416b8ae3857d -r c0e812dd9dfc plugins/muc/mod_muc.lua --- a/plugins/muc/mod_muc.lua Fri Mar 09 02:10:44 2018 +0100 +++ b/plugins/muc/mod_muc.lua Mon Mar 12 16:05:08 2018 +0100 @@ -39,6 +39,7 @@ 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