You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@thrift.apache.org by dr...@apache.org on 2008/06/11 02:58:08 UTC
svn commit: r666419 -
/incubator/thrift/trunk/lib/alterl/src/thrift_client.erl
Author: dreiss
Date: Tue Jun 10 17:58:07 2008
New Revision: 666419
URL: http://svn.apache.org/viewvc?rev=666419&view=rev
Log:
Remove extra debugging from thrift_client.erl
Modified:
incubator/thrift/trunk/lib/alterl/src/thrift_client.erl
Modified: incubator/thrift/trunk/lib/alterl/src/thrift_client.erl
URL: http://svn.apache.org/viewvc/incubator/thrift/trunk/lib/alterl/src/thrift_client.erl?rev=666419&r1=666418&r2=666419&view=diff
==============================================================================
--- incubator/thrift/trunk/lib/alterl/src/thrift_client.erl (original)
+++ incubator/thrift/trunk/lib/alterl/src/thrift_client.erl Tue Jun 10 17:58:07 2008
@@ -193,14 +193,12 @@
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, []} ->