couchdb-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From fdman...@apache.org
Subject svn commit: r1072364 - /couchdb/trunk/src/couchdb/couch_api_wrap_httpc.erl
Date Sat, 19 Feb 2011 15:49:16 GMT
Author: fdmanana
Date: Sat Feb 19 15:49:16 2011
New Revision: 1072364

URL: http://svn.apache.org/viewvc?rev=1072364&view=rev
Log:
Removed unused function clause

Modified:
    couchdb/trunk/src/couchdb/couch_api_wrap_httpc.erl

Modified: couchdb/trunk/src/couchdb/couch_api_wrap_httpc.erl
URL: http://svn.apache.org/viewvc/couchdb/trunk/src/couchdb/couch_api_wrap_httpc.erl?rev=1072364&r1=1072363&r2=1072364&view=diff
==============================================================================
--- couchdb/trunk/src/couchdb/couch_api_wrap_httpc.erl (original)
+++ couchdb/trunk/src/couchdb/couch_api_wrap_httpc.erl Sat Feb 19 15:49:16 2011
@@ -210,8 +210,6 @@ do_report_error(FullUrl, Method, Error) 
         [Method, FullUrl, error_cause(Error)]).
 
 
-error_cause({throw, {error, Cause}}) ->
-    lists:flatten(io_lib:format("~p", [Cause]));
 error_cause({error, Cause}) ->
     lists:flatten(io_lib:format("~p", [Cause]));
 error_cause(Cause) ->



Mime
View raw message