Software /
code /
prosody
Changeset
8704:c0e812dd9dfc
MUC: Say something about storage failure before aborting (see #1091)
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Mon, 12 Mar 2018 16:05:08 +0100 |
parents | 8703:416b8ae3857d |
children | 8705:1d66f66a13c9 |
files | plugins/muc/mod_muc.lua |
diffstat | 1 files changed, 1 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- 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