couchdb-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From kocol...@apache.org
Subject svn commit: r831101 - /couchdb/branches/0.10.x/src/couchdb/couch_httpd_db.erl
Date Thu, 29 Oct 2009 21:42:14 GMT
Author: kocolosk
Date: Thu Oct 29 21:42:14 2009
New Revision: 831101

URL: http://svn.apache.org/viewvc?rev=831101&view=rev
Log:
fixing my sloppy backport in r829924

Modified:
    couchdb/branches/0.10.x/src/couchdb/couch_httpd_db.erl

Modified: couchdb/branches/0.10.x/src/couchdb/couch_httpd_db.erl
URL: http://svn.apache.org/viewvc/couchdb/branches/0.10.x/src/couchdb/couch_httpd_db.erl?rev=831101&r1=831100&r2=831101&view=diff
==============================================================================
--- couchdb/branches/0.10.x/src/couchdb/couch_httpd_db.erl (original)
+++ couchdb/branches/0.10.x/src/couchdb/couch_httpd_db.erl Thu Oct 29 21:42:14 2009
@@ -890,7 +890,7 @@
           {ok, [{ok, Doc}]} ->
               Doc;
           {ok, [{{not_found, missing}, Rev}]} ->
-              throw(not_found);
+              throw({not_found, missing});
           {ok, [Else]} ->
               throw(Else)
       end



Mime
View raw message