summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEric Avdey <eiri@eiri.ca>2019-06-20 10:44:07 -0300
committerEric Avdey <eiri@eiri.ca>2019-06-20 10:44:07 -0300
commita6a420e15a334efde0aeb321fdf1011a0c9bed4a (patch)
treebfd087589fc9a2495721f55a4dfe1bb2d0f88304
parent7e55c3b66059573ab13e346127e9fffb7bdf255b (diff)
downloadcouchdb-prototype/auth-cache-fixes.tar.gz
Fix exception in cache auth doc updateprototype/auth-cache-fixes
-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.