From a6a420e15a334efde0aeb321fdf1011a0c9bed4a Mon Sep 17 00:00:00 2001 From: Eric Avdey Date: Thu, 20 Jun 2019 10:44:07 -0300 Subject: Fix exception in cache auth doc update --- src/chttpd/src/chttpd_auth_cache.erl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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. -- cgit v1.2.1