diff options
author | Eric Avdey <eiri@eiri.ca> | 2019-06-20 10:44:07 -0300 |
---|---|---|
committer | Paul J. Davis <paul.joseph.davis@gmail.com> | 2019-07-31 11:55:30 -0500 |
commit | b9ee168426308db1f3212795fba48ee66edbec42 (patch) | |
tree | 5bad2bd995b3bdd83afd846a7f9e2371b700fbb0 | |
parent | 920e1ffbce2ba0b0fedb65cfabd334770016d0fe (diff) | |
download | couchdb-b9ee168426308db1f3212795fba48ee66edbec42.tar.gz |
Fix exception in cache auth doc update
-rw-r--r-- | src/chttpd/src/chttpd_auth_cache.erl | 2 |
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. |