From: David Reiss Date: Wed, 11 Jun 2008 00:58:07 +0000 (+0000) Subject: Remove extra debugging from thrift_client.erl X-Git-Tag: 0.2.0~742 X-Git-Url: https://source.supwisdom.com/gerrit/gitweb?a=commitdiff_plain;h=8cadf3e0fa1a1b16a5ebc77217454d9b795e6419;p=common%2Fthrift.git Remove extra debugging from thrift_client.erl git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@666419 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/lib/alterl/src/thrift_client.erl b/lib/alterl/src/thrift_client.erl index 9553e070..5c525327 100644 --- a/lib/alterl/src/thrift_client.erl +++ b/lib/alterl/src/thrift_client.erl @@ -193,14 +193,12 @@ handle_reply(State = #state{protocol = Proto, ReplyType) -> {struct, ExceptionFields} = Service:function_info(Function, exceptions), ReplyStructDef = {struct, [{0, ReplyType}] ++ ExceptionFields}, - io:format("RSD: ~p~n", [ReplyStructDef]), {ok, Reply} = thrift_protocol:read(Proto, ReplyStructDef), ReplyList = tuple_to_list(Reply), true = length(ReplyList) == length(ExceptionFields) + 1, ExceptionVals = tl(ReplyList), Thrown = [X || X <- ExceptionVals, X =/= undefined], - io:format("RL: ~p~nEV:~p~n", [ReplyList, ExceptionVals]), Result = case Thrown of [] when ReplyType == {struct, []} ->