mirror of
https://github.com/processone/ejabberd.git
synced 2024-12-26 17:38:45 +01:00
Log more data for failed s2s connection
This commit is contained in:
parent
c7ae916afc
commit
3f91668c46
@ -231,10 +231,10 @@ open_socket(init, StateData) ->
|
|||||||
send_header(NewStateData, Version),
|
send_header(NewStateData, Version),
|
||||||
{next_state, wait_for_stream, NewStateData,
|
{next_state, wait_for_stream, NewStateData,
|
||||||
?FSMTIMEOUT};
|
?FSMTIMEOUT};
|
||||||
{error, _Reason} ->
|
{error, Reason} ->
|
||||||
?INFO_MSG("s2s connection: ~s -> ~s (remote server "
|
?INFO_MSG("s2s connection: ~s -> ~s (remote server "
|
||||||
"not found)",
|
"not found: ~p)",
|
||||||
[StateData#state.myname, StateData#state.server]),
|
[StateData#state.myname, StateData#state.server, Reason]),
|
||||||
case ejabberd_hooks:run_fold(find_s2s_bridge, undefined,
|
case ejabberd_hooks:run_fold(find_s2s_bridge, undefined,
|
||||||
[StateData#state.myname,
|
[StateData#state.myname,
|
||||||
StateData#state.server])
|
StateData#state.server])
|
||||||
|
Loading…
Reference in New Issue
Block a user