This commit is contained in:
parent
465fe5a5b1
commit
d02f725d51
8 changed files with 149 additions and 128 deletions
|
|
@ -310,10 +310,10 @@ defmodule Mv.Membership.Import.MemberCSV do
|
|||
|
||||
case process_row(row_map, line_number, custom_field_lookup, actor) do
|
||||
{:ok, _member} ->
|
||||
update_inserted(acc)
|
||||
update_inserted({acc_inserted, acc_failed, acc_errors, acc_error_count, acc_truncated?})
|
||||
|
||||
{:error, error} ->
|
||||
handle_row_error(acc, error, current_error_count, max_errors)
|
||||
handle_row_error({acc_inserted, acc_failed, acc_errors, acc_error_count, acc_truncated?}, error, current_error_count, max_errors)
|
||||
end
|
||||
end)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue