diff options
Diffstat (limited to 'src/couchdb/couch_view.erl')
-rw-r--r-- | src/couchdb/couch_view.erl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/couchdb/couch_view.erl b/src/couchdb/couch_view.erl index b74fb47d..301ea8b7 100644 --- a/src/couchdb/couch_view.erl +++ b/src/couchdb/couch_view.erl @@ -260,7 +260,7 @@ handle_call({start_group_server, DbName, GroupId}, _From, #server{root_dir=Root} case ets:lookup(group_servers_by_name, {DbName, GroupId}) of [] -> ?LOG_DEBUG("Spawning new group server for view group ~s in database ~s.", [GroupId, DbName]), - case couch_view_group:start_link({view, Root, DbName, GroupId}) of + case (catch couch_view_group:start_link({view, Root, DbName, GroupId})) of {ok, NewPid} -> add_to_ets(NewPid, DbName, GroupId), {reply, {ok, NewPid}, Server}; |