mirror of
https://github.com/processone/ejabberd
synced 2025-10-06 03:50:15 +02:00
Raise bad_node instead of node_down for consistency reason
This commit is contained in:
parent
f5f353d90a
commit
3e4ed83cb3
5 changed files with 9 additions and 9 deletions
|
@ -158,7 +158,7 @@ row_to_route(Domain, {ServerHost, NodeS, PidS, LocalHintS} = Row) ->
|
|||
server_host = ServerHost,
|
||||
pid = aux:decode_pid(PidS, NodeS),
|
||||
local_hint = dec_local_hint(LocalHintS)}]
|
||||
catch _:{node_down, _} ->
|
||||
catch _:{bad_node, _} ->
|
||||
[];
|
||||
E:R ->
|
||||
?ERROR_MSG("failed to decode row from 'route' table:~n"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue