couchdb-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jch...@apache.org
Subject svn commit: r754577 - /couchdb/trunk/src/couchdb/couch_httpd.erl
Date Sun, 15 Mar 2009 01:27:29 GMT
Author: jchris
Date: Sun Mar 15 01:27:28 2009
New Revision: 754577

URL: http://svn.apache.org/viewvc?rev=754577&view=rev
Log:
verbose error logging turned back on for http requests and log_level = debug

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=754577&r1=754576&r2=754577&view=diff
==============================================================================
--- couchdb/trunk/src/couchdb/couch_httpd.erl (original)
+++ couchdb/trunk/src/couchdb/couch_httpd.erl Sun Mar 15 01:27:28 2009
@@ -165,8 +165,10 @@
         HandlerFun(HttpReq#httpd{user_ctx=AuthenticationFun(HttpReq)})
     catch
         throw:Error ->
+            % ?LOG_DEBUG("Minor error in HTTP request: ~p",[Error]),
+            % ?LOG_DEBUG("Stacktrace: ~p",[erlang:get_stacktrace()]),
             send_error(HttpReq, Error);
-        Tag:Error when Error ==foo ->
+        Tag:Error ->
             ?LOG_ERROR("Uncaught error in HTTP request: ~p",[{Tag, Error}]),
             ?LOG_DEBUG("Stacktrace: ~p",[erlang:get_stacktrace()]),
             send_error(HttpReq, Error)



Mime
View raw message