25
1
mirror of https://github.com/processone/ejabberd.git synced 2024-11-26 16:26:24 +01:00

Log this cached exception as DEBUG in ejabberd log file

This commit is contained in:
Badlop 2011-05-04 16:32:52 +02:00
parent b8026d8df7
commit f839b1c6ff

View File

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