aboutsummaryrefslogtreecommitdiffstats
path: root/lib/eldap/src/eldap.erl
diff options
context:
space:
mode:
Diffstat (limited to 'lib/eldap/src/eldap.erl')
-rw-r--r--lib/eldap/src/eldap.erl6
1 files changed, 2 insertions, 4 deletions
diff --git a/lib/eldap/src/eldap.erl b/lib/eldap/src/eldap.erl
index 5a6813173f..27246996e3 100644
--- a/lib/eldap/src/eldap.erl
+++ b/lib/eldap/src/eldap.erl
@@ -500,11 +500,9 @@ exec_extended_req_reply(Data, {ok,Msg}) when
{extendedResp, Result} ->
case Result#'ExtendedResponse'.resultCode of
success ->
- io:format('eldap: exec_start_tls = ~p~n',[success]),
{ok,Data};
- Error ->
- io:format('eldap: exec_start_tls = ~p~n',[Error]),
- {error, Error}
+ Error ->
+ {error, {response,Error}}
end;
Other -> {error, Other}
end;