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:
parent
735b34e7b7
commit
0f4ee703c6
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user