mirror of
https://github.com/processone/ejabberd.git
synced 2024-11-28 16:34:13 +01:00
Improve ejd2sql logging
This commit is contained in:
parent
a8238d6a54
commit
568ab526e2
@ -86,6 +86,11 @@ export(Server, Output, Module1) ->
|
||||
fun({Table, ConvertFun}) ->
|
||||
case export(LServer, Table, IO, ConvertFun) of
|
||||
{atomic, ok} -> ok;
|
||||
{aborted, {no_exists, _}} ->
|
||||
?WARNING_MSG("Ignoring export for module ~s: "
|
||||
"Mnesia table ~s doesn't exist (most likely "
|
||||
"because the module is unused)",
|
||||
[Module1, Table]);
|
||||
{aborted, Reason} ->
|
||||
?ERROR_MSG("Failed export for module ~p and table ~p: ~p",
|
||||
[Module, Table, Reason])
|
||||
|
Loading…
Reference in New Issue
Block a user