summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJan Lehnardt <jan@apache.org>2019-09-09 12:26:09 +0200
committerJan Lehnardt <jan@apache.org>2019-09-09 12:26:12 +0200
commitd9a1556c01d49f1d1fc098224341da829583d110 (patch)
treee587b2ac7279e5a60ef5cb9c14b8b747d95062a4
parent4a15a4c33c85bed023c4c9fa5a608741b4bbf285 (diff)
downloadcouchdb-feat/warn.tar.gz
feat: less scary error messagefeat/warn
-rw-r--r--src/chttpd/src/chttpd_auth_cache.erl3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/chttpd/src/chttpd_auth_cache.erl b/src/chttpd/src/chttpd_auth_cache.erl
index 638d8c748..fdae27b79 100644
--- a/src/chttpd/src/chttpd_auth_cache.erl
+++ b/src/chttpd/src/chttpd_auth_cache.erl
@@ -113,6 +113,9 @@ handle_info({'DOWN', _, _, Pid, Reason}, #state{changes_pid=Pid} = State) ->
Seq = case Reason of
{seq, EndSeq} ->
EndSeq;
+ {database_does_not_exist, _} ->
+ couch_log:notice("~p changes listener died because the _users database does not exist. Create the database to silence this notice.", [?MODULE]),
+ 0;
_ ->
couch_log:notice("~p changes listener died ~r", [?MODULE, Reason]),
0