You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@couchdb.apache.org by ja...@apache.org on 2019/09/09 17:01:36 UTC
[couchdb] branch master updated: feat: less scary error message
This is an automated email from the ASF dual-hosted git repository.
jan pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/couchdb.git
The following commit(s) were added to refs/heads/master by this push:
new 8a06268 feat: less scary error message
8a06268 is described below
commit 8a062686fac0a29af2d6f3c7da81ff3ff1e484fb
Author: Jan Lehnardt <ja...@apache.org>
AuthorDate: Mon Sep 9 12:26:09 2019 +0200
feat: less scary error message
---
src/chttpd/src/chttpd_auth_cache.erl | 3 +++
1 file changed, 3 insertions(+)
diff --git a/src/chttpd/src/chttpd_auth_cache.erl b/src/chttpd/src/chttpd_auth_cache.erl
index 638d8c7..fdae27b 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