Merge pull request #1244 from poanetwork/with-clause-import-error

Missed error pattern change in #1233
pull/1247/head
Luke Imhoff 6 years ago committed by GitHub
commit b34e13180b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      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}}
{:error, step, failed_value, changes_so_far} -> {:error, {step, failed_value, changes_so_far}}
{step, {:error, step, failed_value, changes_so_far}} -> {:error, {step, failed_value, changes_so_far}}
end
end

Loading…
Cancel
Save