diff --git a/apps/indexer/lib/indexer/block/catchup/fetcher.ex b/apps/indexer/lib/indexer/block/catchup/fetcher.ex index 6dd039404a..6c3b2866cb 100644 --- a/apps/indexer/lib/indexer/block/catchup/fetcher.ex +++ b/apps/indexer/lib/indexer/block/catchup/fetcher.ex @@ -220,6 +220,13 @@ defmodule Indexer.Block.Catchup.Fetcher do error end + rescue + exception -> + Logger.error(fn -> [Exception.format(:error, exception, __STACKTRACE__), ?\n, ?\n, "Retrying."] end) + + push_back(sequence, range) + + {:error, exception} end defp cap_seq(seq, errors) do