Log timeout in PendingTransaction fetcher instead of crashing

Fixes #1216
pull/1218/head
Luke Imhoff 6 years ago
parent a247b47275
commit 30e0ac4498
  1. 5
      apps/indexer/lib/indexer/pending_transaction/fetcher.ex

@ -120,6 +120,11 @@ defmodule Indexer.PendingTransaction.Fetcher do
:ignore ->
:ok
{:error, :timeout} ->
Logger.error("timeout")
:ok
end
end
end

Loading…
Cancel
Save