mirror of
https://github.com/processone/ejabberd.git
synced 2024-12-26 17:38:45 +01:00
Don't stop irc table conversion on broken JIDs
This commit is contained in:
parent
6f4b4ad087
commit
c485aea48b
@ -1229,10 +1229,16 @@ data_to_binary(JID, Data) ->
|
||||
try
|
||||
[conn_param_to_binary(Param)]
|
||||
catch _:_ ->
|
||||
?ERROR_MSG("failed to convert parameter "
|
||||
" ~p for user ~s",
|
||||
[Param, jlib:jid_to_string(JID)]),
|
||||
[]
|
||||
if JID /= error ->
|
||||
?ERROR_MSG("failed to convert "
|
||||
"parameter ~p for user ~s",
|
||||
[Param,
|
||||
jlib:jid_to_string(JID)]);
|
||||
true ->
|
||||
?ERROR_MSG("failed to convert "
|
||||
"parameter ~p",
|
||||
[Param])
|
||||
end
|
||||
end
|
||||
end, Params)};
|
||||
(Opt) ->
|
||||
|
Loading…
Reference in New Issue
Block a user