You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@couchdb.apache.org by fd...@apache.org on 2011/05/21 16:09:00 UTC

svn commit: r1125706 - /couchdb/trunk/src/couchdb/couch_replication_manager.erl

Author: fdmanana
Date: Sat May 21 14:09:00 2011
New Revision: 1125706

URL: http://svn.apache.org/viewvc?rev=1125706&view=rev
Log:
Replication manager: full error handling on replication start failure

Modified:
    couchdb/trunk/src/couchdb/couch_replication_manager.erl

Modified: couchdb/trunk/src/couchdb/couch_replication_manager.erl
URL: http://svn.apache.org/viewvc/couchdb/trunk/src/couchdb/couch_replication_manager.erl?rev=1125706&r1=1125705&r2=1125706&view=diff
==============================================================================
--- couchdb/trunk/src/couchdb/couch_replication_manager.erl (original)
+++ couchdb/trunk/src/couchdb/couch_replication_manager.erl Sat May 21 14:09:00 2011
@@ -367,7 +367,7 @@ start_replication(Server, #rep{id = RepI
     {ok, _} ->
         ok = gen_server:call(Server, {rep_started, RepId}, infinity);
     Error ->
-        ok = gen_server:call(Server, {rep_error, RepId, Error}, infinity)
+        replication_error(Rep, Error)
     end.