25
1
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:
Holger Weiss 2016-05-24 07:58:07 +02:00
parent a2f0e157bc
commit 8c16fdf59f

View File

@ -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};
_ ->