anchor.diff:                  erlang:apply(Module, Function, z_convert:to_list(Args) ++ [Context])
               catch
                   Error:Reason -> 
  -                    ?LOG("Task failed(~p:~p): ~p:~p(~p)~n", [Error, Reason, Module, Function, Args]),
  +                    ?ERROR("Task failed(~p:~p): ~p:~p(~p)~n", [Error, Reason, Module, Function, Args]),
                       insert_task(Module, Function, Key, Args, Context)
               end;
           empty ->
  
positive.code: 
      SqlArgs = ArgsD ++ [
          TsvIds,
          proplists:get_value(street, R),
          proplists:get_value(city, R),
          proplists:get_value(postcode, R),
          proplists:get_value(state, R),
          proplists:get_value(country, R),
          proplists:get_value(name_first, R),
          proplists:get_value(name_surname, R),
          proplists:get_value(gender, R),
          DateStart,
          DateEnd,
          get_pivot_title(R),
          Id
      ],
      z_db:q(Sql, SqlArgs, Context),
  
negative.code:                         [ pivot_resource(Id, Ctx) || {Id,_Serial} <- Qs]
                  end,
              case z_db:transaction(F, Context) of
                  {rollback, PivotError} -> ?ERROR("Pivot error: ~p: ~p~n", [PivotError, Qs]);
                  L when is_list(L) -> delete_queue(Qs, Context)
              end
      end.
  