couchdb-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From iil...@apache.org
Subject [49/50] couch-httpd commit: updated refs/heads/split_out_httpd_stack to e44a372
Date Tue, 01 Mar 2016 20:01:22 GMT
Fix dispatch to handle_error hook


Project: http://git-wip-us.apache.org/repos/asf/couchdb-couch-httpd/repo
Commit: http://git-wip-us.apache.org/repos/asf/couchdb-couch-httpd/commit/3e6eda7f
Tree: http://git-wip-us.apache.org/repos/asf/couchdb-couch-httpd/tree/3e6eda7f
Diff: http://git-wip-us.apache.org/repos/asf/couchdb-couch-httpd/diff/3e6eda7f

Branch: refs/heads/split_out_httpd_stack
Commit: 3e6eda7f8a8f5789a310fe6c59bb9be0fabdb0f5
Parents: c457740
Author: ILYA Khlopotov <iilyak@ca.ibm.com>
Authored: Tue Mar 1 08:26:37 2016 -0800
Committer: ILYA Khlopotov <iilyak@ca.ibm.com>
Committed: Tue Mar 1 08:35:10 2016 -0800

----------------------------------------------------------------------
 src/couch_httpd_plugin.erl | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/couchdb-couch-httpd/blob/3e6eda7f/src/couch_httpd_plugin.erl
----------------------------------------------------------------------
diff --git a/src/couch_httpd_plugin.erl b/src/couch_httpd_plugin.erl
index 4a5b009..9d1742b 100644
--- a/src/couch_httpd_plugin.erl
+++ b/src/couch_httpd_plugin.erl
@@ -35,7 +35,7 @@ after_request(HttpReq, Result) ->
     {ok, Result1}.
 
 handle_error(Error) ->
-    [Error1] = with_pipe(after_request, [Error]),
+    [Error1] = with_pipe(handle_error, [Error]),
     Error1.
 
 %% ------------------------------------------------------------------


Mime
View raw message