mirror of
https://github.com/processone/ejabberd.git
synced 2024-12-22 17:28:25 +01:00
Skip connection exit message when we triggered reconnection
This commit is contained in:
parent
2b3644c8ac
commit
9b647a7afe
@ -443,6 +443,8 @@ handle_sync_event(_Event, _From, StateName, State) ->
|
||||
code_change(_OldVsn, StateName, State, _Extra) ->
|
||||
{ok, StateName, State}.
|
||||
|
||||
handle_info({'EXIT', _Pid, _Reason}, connecting, State) ->
|
||||
{next_state, connecting, State};
|
||||
handle_info({'EXIT', _Pid, Reason}, _StateName, State) ->
|
||||
handle_reconnect(Reason, State);
|
||||
handle_info(Info, StateName, State) ->
|
||||
|
Loading…
Reference in New Issue
Block a user