+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
* src/mod_muc/mod_muc_room.erl (init): Ensure rooms are called
when the process dies due to a linked die (EJAB-536)
-2008-02-27 Mickael Remond <mremond@process-one.net>
+2008-02-27 Mickael Remond <mremond@process-one.net>
* src/ejabberd_check.erl: Separate config loading from
configuration sanity checks (EJAB-533)
search/2
]).
+-include("ejabberd.hrl").
+
%%====================================================================
%% API
%%====================================================================
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