summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJohn Christopher Anderson <jchris@apache.org>2009-01-19 20:47:18 +0000
committerJohn Christopher Anderson <jchris@apache.org>2009-01-19 20:47:18 +0000
commit571851b682065d19646a723a8e664b8e5a2fac20 (patch)
tree82abb2e0f1d399e7007208e214979363c9aaae54 /src
parentc0733373d278cbf08997f82a5a22e56580354141 (diff)
catch all error handling for HTTP requests
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@735803 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'src')
-rw-r--r--src/couchdb/couch_httpd.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/couchdb/couch_httpd.erl b/src/couchdb/couch_httpd.erl
index 93062d69..e6b1c895 100644
--- a/src/couchdb/couch_httpd.erl
+++ b/src/couchdb/couch_httpd.erl
@@ -152,7 +152,7 @@ handle_request(MochiReq, UrlHandlers, DbUrlHandlers) ->
try
HandlerFun(HttpReq#httpd{user_ctx=AuthenticationFun(HttpReq)})
catch
- Error ->
+ _Tag:Error ->
send_error(HttpReq, Error)
end,