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

* src/eldap/eldap_pool.erl: Improved logging

SVN Revision: 1220
This commit is contained in:
Mickaël Rémond 2008-03-07 14:49:06 +00:00
parent 735b34e7b7
commit 0f4ee703c6
2 changed files with 9 additions and 1 deletions

View File

@ -1,3 +1,7 @@
2008-03-07 Mickael Remond <mremond@process-one.net>
* src/eldap/eldap_pool.erl: Improved logging
2008-03-04 Badlop <badlop@process-one.net>
* doc/guide.tex: Improve documentation of host_config

View File

@ -34,6 +34,8 @@
search/2
]).
-include("ejabberd.hrl").
%%====================================================================
%% API
%%====================================================================
@ -64,6 +66,8 @@ do_request(Name, {F, Args}) ->
Pid when is_pid(Pid) ->
case catch apply(eldap, F, [Pid | Args]) of
{'EXIT', Reason} ->
?ERROR_MSG("LDAP request failed: eldap:~p(~p)~nReason: ",
[F, Args, Reason]),
{error, Reason};
Reply ->
Reply