summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoan Touzet <wohali@users.noreply.github.com>2020-08-25 21:23:12 +0000
committerGitHub <noreply@github.com>2020-08-25 21:23:12 +0000
commit7995c26a675260fee10a70d3d99c341935d29b6f (patch)
tree0da20549e4ccfcd84d0391e3ddf86f89e9475cb9
parent02e7157d47ebd508929e03b5e4b6385a9636464a (diff)
downloadcouchdb-7995c26a675260fee10a70d3d99c341935d29b6f.tar.gz
Don't log client disconnects (#3102)
Co-authored-by: Robert Newson <rnewson@apache.org>
-rw-r--r--src/chttpd/src/chttpd.erl2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/chttpd/src/chttpd.erl b/src/chttpd/src/chttpd.erl
index adde0730f..8a38f1bb1 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.