1
0
Fork 0
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:
Evgeniy Khramtsov 2017-03-30 17:51:37 +03:00
parent f5f353d90a
commit 3e4ed83cb3
5 changed files with 9 additions and 9 deletions

View file

@ -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"