anchor.diff:          [BaseId ++ Ext, Source, Target, to_binary(Reason)]),
       terminate_cleanup(State),
       couch_replicator_notifier:notify({error, RepId, Reason}),
  -    couch_replicator_manager:replication_error(Rep, Reason).
  -
  +    couch_replicator_manager:replication_error(Rep, Reason);
  +
  +terminate(shutdown, {error, Class, Error, Stack, InitArgs}) ->
  +    twig:log("~p:~p: Replication failed to start for args ~p: ~p",
  +        [Class, Error, InitArgs, Stack]).
   
   terminate_cleanup(State) ->
       update_task(State),
  
positive.code:     true ->
          twig:log(error,"Worker ~p died with reason: ~p", [Pid, Reason]),
          {stop, {worker_died, Pid, Reason}, State2}
      end.
  
  
  handle_call(get_details, _From, #rep_state{rep_details = Rep} = State) ->
      {reply, {ok, Rep}, State};
  
negative.code:     end.
  
  init(InitArgs) ->
      {ok, InitArgs, 0}.
  
  do_init(#rep{options = Options, id = {BaseId, Ext}} = Rep) ->
      process_flag(trap_exit, true),
  