mirror of
https://github.com/processone/ejabberd.git
synced 2024-11-22 16:20:52 +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),
|
case {mnesia:table_info(archive_msg, disc_only_copies),
|
||||||
mnesia:table_info(archive_msg, memory)} of
|
mnesia:table_info(archive_msg, memory)} of
|
||||||
{[_|_], TableSize} when TableSize > ?TABLE_SIZE_LIMIT ->
|
{[_|_], 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]),
|
[LUser, LServer]),
|
||||||
{error, overflow};
|
{error, overflow};
|
||||||
_ ->
|
_ ->
|
||||||
|
Loading…
Reference in New Issue
Block a user