mirror of
https://github.com/processone/ejabberd.git
synced 2024-11-30 16:36:29 +01:00
Log this cached exception as DEBUG in ejabberd log file
This commit is contained in:
parent
b8026d8df7
commit
f839b1c6ff
@ -894,7 +894,8 @@ wait_for_bind({xmlstreamelement, El}, StateData) ->
|
|||||||
Err = exmpp_server_binding:error(El, 'bad-request'),
|
Err = exmpp_server_binding:error(El, 'bad-request'),
|
||||||
send_element(StateData, Err),
|
send_element(StateData, Err),
|
||||||
fsm_next_state(wait_for_bind, StateData);
|
fsm_next_state(wait_for_bind, StateData);
|
||||||
throw:_Exception ->
|
throw:Exception ->
|
||||||
|
?DEBUG("When processing:~n ~p~nThis exception was catched:~n ~p", [El, Exception]),
|
||||||
fsm_next_state(wait_for_bind, StateData)
|
fsm_next_state(wait_for_bind, StateData)
|
||||||
end;
|
end;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user