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
1 changed files with 1 additions and 1 deletions

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