* src/ejabberd_s2s.erl: More verbose error handling

SVN Revision: 218
This commit is contained in:
Alexey Shchepin 2004-03-16 14:34:20 +00:00
parent f9f33a9117
commit 90e48213e0
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,7 @@
2004-03-16 Alexey Shchepin <alexey@sevcom.net>
* src/ejabberd_s2s.erl: More verbose error handling
2004-03-15 Alexey Shchepin <alexey@sevcom.net>
* src/web/ejabberd_web.erl: Minor update

View File

@ -46,7 +46,8 @@ loop() ->
{route, From, To, Packet} ->
case catch do_route(From, To, Packet) of
{'EXIT', Reason} ->
?ERROR_MSG("~p", [Reason]);
?ERROR_MSG("~p~nwhen processing: ~p",
[Reason, {From, To, Packet}]);
_ ->
ok
end,