Merge pull request #1218 from poanetwork/1216

Log timeout in PendingTransaction fetcher instead of crashing
pull/1222/head
Luke Imhoff 6 years ago committed by GitHub
commit 44e4f17d14
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 5
      apps/indexer/lib/indexer/pending_transaction/fetcher.ex

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

Loading…
Cancel
Save