couchdb-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jch...@apache.org
Subject svn commit: r735803 - /couchdb/trunk/src/couchdb/couch_httpd.erl
Date Mon, 19 Jan 2009 20:47:18 GMT
Author: jchris
Date: Mon Jan 19 12:47:18 2009
New Revision: 735803

URL: http://svn.apache.org/viewvc?rev=735803&view=rev
Log:
catch all error handling for HTTP requests

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

Modified: couchdb/trunk/src/couchdb/couch_httpd.erl
URL: http://svn.apache.org/viewvc/couchdb/trunk/src/couchdb/couch_httpd.erl?rev=735803&r1=735802&r2=735803&view=diff
==============================================================================
--- couchdb/trunk/src/couchdb/couch_httpd.erl (original)
+++ couchdb/trunk/src/couchdb/couch_httpd.erl Mon Jan 19 12:47:18 2009
@@ -152,7 +152,7 @@
     try
         HandlerFun(HttpReq#httpd{user_ctx=AuthenticationFun(HttpReq)})
     catch
-        Error ->
+        _Tag:Error ->
             send_error(HttpReq, Error)
     end,
 



Mime
View raw message