Author: dreiss
Date: Mon Aug 30 22:05:12 2010
New Revision: 990967
URL: http://svn.apache.org/viewvc?rev=990967&view=rev
Log:
erlang: Don't print a warning for application-defined exceptions
Application-defined exceptions are a normal occurrence as far as the
Thrift infrastructure is concerned, so we should not print a warning.
Modified:
incubator/thrift/trunk/lib/erl/src/thrift_processor.erl
Modified: incubator/thrift/trunk/lib/erl/src/thrift_processor.erl
URL:
http://svn.apache.org/viewvc/incubator/thrift/trunk/lib/erl/src/thrift_processor.erl?rev=990967&r1=990966&r2=990967&view=diff
==============================================================================
--- incubator/thrift/trunk/lib/erl/src/thrift_processor.erl (original)
+++ incubator/thrift/trunk/lib/erl/src/thrift_processor.erl Mon Aug 30 22:05:12
2010
@@ -87,7 +87,7 @@ handle_function_catch(State = #thrift_pr
ok;
{throw, Exception} when is_tuple(Exception), size(Exception) > 0 ->
- error_logger:warning_msg("~p threw exception: ~p~n", [Function,
Exception]),
+ %error_logger:warning_msg("~p threw exception: ~p~n", [Function,
Exception]),
handle_exception(State, Function, Exception),
ok; % we still want to accept more requests from this client