diff options
| -rw-r--r-- | src/couchdb/couch_httpd.erl | 4 | 
1 files changed, 3 insertions, 1 deletions
| diff --git a/src/couchdb/couch_httpd.erl b/src/couchdb/couch_httpd.erl index 2ba684a8..4dfbd954 100644 --- a/src/couchdb/couch_httpd.erl +++ b/src/couchdb/couch_httpd.erl @@ -165,8 +165,10 @@ handle_request(MochiReq, UrlHandlers, DbUrlHandlers, DesignUrlHandlers) ->          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) | 
