You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@couchdb.apache.org by da...@apache.org on 2014/01/17 23:08:42 UTC
[28/32] git commit: Ignore unexpected messages to couch_index_server
Ignore unexpected messages to couch_index_server
Project: http://git-wip-us.apache.org/repos/asf/couchdb-couch-index/repo
Commit: http://git-wip-us.apache.org/repos/asf/couchdb-couch-index/commit/5784b118
Tree: http://git-wip-us.apache.org/repos/asf/couchdb-couch-index/tree/5784b118
Diff: http://git-wip-us.apache.org/repos/asf/couchdb-couch-index/diff/5784b118
Branch: refs/heads/import
Commit: 5784b11881c600519c23cb34e824e024afac9536
Parents: 3a10c4f
Author: Paul J. Davis <pa...@gmail.com>
Authored: Fri Mar 8 19:54:27 2013 -0600
Committer: Paul J. Davis <pa...@gmail.com>
Committed: Wed Mar 20 06:02:49 2013 -0500
----------------------------------------------------------------------
src/couch_index_server.erl | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/couchdb-couch-index/blob/5784b118/src/couch_index_server.erl
----------------------------------------------------------------------
diff --git a/src/couch_index_server.erl b/src/couch_index_server.erl
index e385350..bd27c5c 100644
--- a/src/couch_index_server.erl
+++ b/src/couch_index_server.erl
@@ -136,7 +136,10 @@ handle_info({'EXIT', Pid, Reason}, Server) ->
_Else ->
ok
end,
- {noreply, Server}.
+ {noreply, Server};
+handle_info(Msg, State) ->
+ twig:log(warn, "~p did not expect ~p", [?MODULE, Msg]),
+ {noreply, State}.
code_change(_OldVsn, State, _Extra) ->