summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobert Newson <rnewson@apache.org>2020-08-20 20:01:52 +0100
committerRobert Newson <rnewson@apache.org>2020-08-20 21:16:05 +0100
commit46222f4e8ce1d729342ea5abd470441eb6155345 (patch)
tree243b7d2fdcf584a74389ebef7cd9ee23b4e9b614
parent1c0c9f40225668a67e73d11583c7bd22c042d1f2 (diff)
downloadcouchdb-46222f4e8ce1d729342ea5abd470441eb6155345.tar.gz
Don't log client disconnects
-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 5a3e3fa38..325369ecd 100644
--- a/src/chttpd/src/chttpd.erl
+++ b/src/chttpd/src/chttpd.erl
@@ -1000,6 +1000,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.