summaryrefslogtreecommitdiff
path: root/src/couchdb/couch_os_process.erl
diff options
context:
space:
mode:
authorJan Lehnardt <jan@apache.org>2009-01-24 11:39:21 +0000
committerJan Lehnardt <jan@apache.org>2009-01-24 11:39:21 +0000
commitd35cbb3032767ebe2632b9be69f1b88f8522639e (patch)
treedfc4c772d9d2cfe124502ed6220fc6b8f8557765 /src/couchdb/couch_os_process.erl
parent2b0231f20bb4c6eb111dee2df82760732c364faf (diff)
Don't let a failing db update notification client bring down the entire
view_server. Patch by Adam Kocoloski. Closes COUCHDB-206. Thanks Adam. git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@737334 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'src/couchdb/couch_os_process.erl')
-rw-r--r--src/couchdb/couch_os_process.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/couchdb/couch_os_process.erl b/src/couchdb/couch_os_process.erl
index c0b98946..63cc07b0 100644
--- a/src/couchdb/couch_os_process.erl
+++ b/src/couchdb/couch_os_process.erl
@@ -151,7 +151,7 @@ handle_cast(Msg, OsProc) ->
handle_info({Port, {exit_status, Status}}, #os_proc{port=Port}=OsProc) ->
?LOG_ERROR("OS Process died with status: ~p", [Status]),
- {stop, error, OsProc};
+ {stop, {exit_status, Status}, OsProc};
handle_info(Msg, OsProc) ->
?LOG_DEBUG("OS Proc: Unknown info: ~p", [Msg]),
{noreply, OsProc}.