Show blocks range in internal transactions fetching error (#10028)

docker-compose-changing-fe-port
Victor Baranov 7 months ago committed by GitHub
parent ebe6535fa6
commit de755d81ad
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
  1. 10
      apps/indexer/lib/indexer/fetcher/internal_transaction.ex

@ -118,7 +118,10 @@ defmodule Indexer.Fetcher.InternalTransaction do
{:error, reason} ->
Logger.error(
fn ->
["failed to fetch internal transactions for blocks: ", Exception.format(:error, reason)]
[
"failed to fetch internal transactions for blocks #{inspect(filtered_unique_numbers)}: ",
Exception.format(:error, reason)
]
end,
error_count: filtered_unique_numbers_count
)
@ -131,7 +134,10 @@ defmodule Indexer.Fetcher.InternalTransaction do
{:error, reason, stacktrace} ->
Logger.error(
fn ->
["failed to fetch internal transactions for blocks: ", Exception.format(:error, reason, stacktrace)]
[
"failed to fetch internal transactions for blocks #{inspect(filtered_unique_numbers)}: ",
Exception.format(:error, reason, stacktrace)
]
end,
error_count: filtered_unique_numbers_count
)

Loading…
Cancel
Save