mirror of
https://github.com/processone/ejabberd
synced 2025-10-03 17:59:31 +02:00
Avoid excessive logging of SQL failures
This commit is contained in:
parent
515f8b22c0
commit
5b42fc1d0d
13 changed files with 54 additions and 93 deletions
|
@ -69,7 +69,6 @@ register_stream(SID, Pid) ->
|
|||
{atomic, _} ->
|
||||
ok;
|
||||
{aborted, Reason} ->
|
||||
?ERROR_MSG("failed to register stream: ~p", [Reason]),
|
||||
{error, Reason}
|
||||
end.
|
||||
|
||||
|
@ -82,7 +81,6 @@ unregister_stream(SID) ->
|
|||
{atomic, _} ->
|
||||
ok;
|
||||
{aborted, Reason} ->
|
||||
?ERROR_MSG("failed to unregister stream: ~p", [Reason]),
|
||||
{error, Reason}
|
||||
end.
|
||||
|
||||
|
@ -133,7 +131,6 @@ activate_stream(SID, IJID, MaxConnections, _Node) ->
|
|||
{aborted, {limit, _, _} = Limit} ->
|
||||
{error, Limit};
|
||||
{aborted, Reason} ->
|
||||
?ERROR_MSG("failed to activate bytestream: ~p", [Reason]),
|
||||
{error, Reason}
|
||||
end.
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue