summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobert Newson <rnewson@apache.org>2020-08-20 21:35:33 +0100
committerGitHub <noreply@github.com>2020-08-20 21:35:33 +0100
commit9fd20109a5e7b73e9fd8f561418f50f38722714f (patch)
tree7322eddeef91a23a7109effb37816ff1189f4a32
parent452ce75350de652a462a9c633844cfb37672fda1 (diff)
parent46222f4e8ce1d729342ea5abd470441eb6155345 (diff)
downloadcouchdb-9fd20109a5e7b73e9fd8f561418f50f38722714f.tar.gz
Merge pull request #3092 from apache/dont-log-client-disconnects
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.