You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
When running a scan of a bitcoin predicate, if there is any error from the bitcoin node, the user never sees it. They just get this in their logs: WARN unable to retrieve block hash #801220: will retry in a few seconds (attempt #4).
In my specific case, I was getting htis error from the bitcoind node: unable to parse response (RPC error response: RpcError { code: -8, message: "Block height out of range", data: None }). Seeing this error made it easy to see that I was requesting invalid values, but to see this error I had to make custom changes to chainhook.
Describe the bug
When running a scan of a bitcoin predicate, if there is any error from the bitcoin node, the user never sees it. They just get this in their logs:
WARN unable to retrieve block hash #801220: will retry in a few seconds (attempt #4).
In my specific case, I was getting htis error from the bitcoind node:
unable to parse response (RPC error response: RpcError { code: -8, message: "Block height out of range", data: None })
. Seeing this error made it easy to see that I was requesting invalid values, but to see this error I had to make custom changes to chainhook.Adding the error to this log line could help:
chainhook/components/chainhook-sdk/src/indexer/bitcoin/mod.rs
Line 192 in 0fbfc76
To Reproduce
Steps to reproduce the behavior:
The text was updated successfully, but these errors were encountered: