You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@couchdb.apache.org by wo...@apache.org on 2020/08/25 21:24:39 UTC
[couchdb] branch 3.x updated: Don't log client disconnects (#3102)
This is an automated email from the ASF dual-hosted git repository.
wohali pushed a commit to branch 3.x
in repository https://gitbox.apache.org/repos/asf/couchdb.git
The following commit(s) were added to refs/heads/3.x by this push:
new 7995c26 Don't log client disconnects (#3102)
7995c26 is described below
commit 7995c26a675260fee10a70d3d99c341935d29b6f
Author: Joan Touzet <wo...@users.noreply.github.com>
AuthorDate: Tue Aug 25 21:23:12 2020 +0000
Don't log client disconnects (#3102)
Co-authored-by: Robert Newson <rn...@apache.org>
---
src/chttpd/src/chttpd.erl | 2 ++
1 file changed, 2 insertions(+)
diff --git a/src/chttpd/src/chttpd.erl b/src/chttpd/src/chttpd.erl
index adde073..8a38f1b 100644
--- a/src/chttpd/src/chttpd.erl
+++ b/src/chttpd/src/chttpd.erl
@@ -970,6 +970,8 @@ maybe_handle_error(Error) ->
Result;
{Err, Reason} ->
{500, couch_util:to_binary(Err), couch_util:to_binary(Reason)};
+ normal ->
+ exit(normal);
Error ->
{500, <<"unknown_error">>, couch_util:to_binary(Error)}
end.