mirror of
https://github.com/processone/ejabberd
synced 2025-10-04 10:19: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
|
@ -63,9 +63,7 @@ caps_write(LServer, NodePair, Features) ->
|
|||
sql_write_features_t(NodePair, Features)) of
|
||||
{atomic, _} ->
|
||||
ok;
|
||||
{aborted, Reason} ->
|
||||
?ERROR_MSG("Failed to write to SQL 'caps_features' table: ~p",
|
||||
[Reason]),
|
||||
{aborted, _Reason} ->
|
||||
{error, db_failure}
|
||||
end.
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue