diff --git a/apps/indexer/lib/indexer/block/fetcher.ex b/apps/indexer/lib/indexer/block/fetcher.ex index ab4c8b48b0..2a3e66e4dd 100644 --- a/apps/indexer/lib/indexer/block/fetcher.ex +++ b/apps/indexer/lib/indexer/block/fetcher.ex @@ -149,7 +149,7 @@ defmodule Indexer.Block.Fetcher do {:ok, %{inserted: inserted, errors: blocks_errors ++ beneficiaries_errors}} else {step, {:error, reason}} -> {:error, {step, reason}} - {step, {:error, step, failed_value, changes_so_far}} -> {:error, {step, failed_value, changes_so_far}} + {:import, {:error, step, failed_value, changes_so_far}} -> {:error, {step, failed_value, changes_so_far}} end end