mirror of
https://github.com/processone/ejabberd.git
synced 2024-11-24 16:23:40 +01:00
mod_mam_mnesia: Clarify error message
This commit is contained in:
parent
a2f0e157bc
commit
8c16fdf59f
@ -88,7 +88,7 @@ store(Pkt, _, {LUser, LServer}, Type, Peer, Nick, _Dir) ->
|
||||
case {mnesia:table_info(archive_msg, disc_only_copies),
|
||||
mnesia:table_info(archive_msg, memory)} of
|
||||
{[_|_], TableSize} when TableSize > ?TABLE_SIZE_LIMIT ->
|
||||
?ERROR_MSG("MAM archive of ~s@~s too large, won't store message",
|
||||
?ERROR_MSG("MAM archives too large, won't store message for ~s@~s",
|
||||
[LUser, LServer]),
|
||||
{error, overflow};
|
||||
_ ->
|
||||
|
Loading…
Reference in New Issue
Block a user