summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEric Avdey <eiri@eiri.ca>2019-06-20 10:44:07 -0300
committerPaul J. Davis <paul.joseph.davis@gmail.com>2019-07-31 11:55:30 -0500
commitb9ee168426308db1f3212795fba48ee66edbec42 (patch)
tree5bad2bd995b3bdd83afd846a7f9e2371b700fbb0
parent920e1ffbce2ba0b0fedb65cfabd334770016d0fe (diff)
downloadcouchdb-b9ee168426308db1f3212795fba48ee66edbec42.tar.gz
Fix exception in cache auth doc update
-rw-r--r--src/chttpd/src/chttpd_auth_cache.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/chttpd/src/chttpd_auth_cache.erl b/src/chttpd/src/chttpd_auth_cache.erl
index fc1ee62fa..e986af6c3 100644
--- a/src/chttpd/src/chttpd_auth_cache.erl
+++ b/src/chttpd/src/chttpd_auth_cache.erl
@@ -231,7 +231,7 @@ update_doc_ignoring_conflict(DbName, Doc) ->
try
fabric2_db:update_doc(DbName, Doc)
catch
- throw:conflict ->
+ error:conflict ->
ok
end.