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 10:26:33 UTC

[couchdb] branch feat/warn created (now d9a1556)

This is an automated email from the ASF dual-hosted git repository.

jan pushed a change to branch feat/warn
in repository https://gitbox.apache.org/repos/asf/couchdb.git.


      at d9a1556  feat: less scary error message

This branch includes the following new commits:

     new d9a1556  feat: less scary error message

The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.



[couchdb] 01/01: feat: less scary error message

Posted by ja...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

jan pushed a commit to branch feat/warn
in repository https://gitbox.apache.org/repos/asf/couchdb.git

commit d9a1556c01d49f1d1fc098224341da829583d110
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