diff options
author | Jan Lehnardt <jan@apache.org> | 2019-09-09 12:26:09 +0200 |
---|---|---|
committer | Jan Lehnardt <jan@apache.org> | 2019-09-09 19:01:30 +0200 |
commit | 8a062686fac0a29af2d6f3c7da81ff3ff1e484fb (patch) | |
tree | e587b2ac7279e5a60ef5cb9c14b8b747d95062a4 | |
parent | 4a15a4c33c85bed023c4c9fa5a608741b4bbf285 (diff) | |
download | couchdb-8a062686fac0a29af2d6f3c7da81ff3ff1e484fb.tar.gz |
feat: less scary error message
-rw-r--r-- | src/chttpd/src/chttpd_auth_cache.erl | 3 |
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 |