Skip to content

Commit

Permalink
amend
Browse files Browse the repository at this point in the history
  • Loading branch information
enobayram committed Dec 18, 2023
1 parent 170c407 commit bb2f33c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion haskell-src/exec/Chainweb/Lookups.hs
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,8 @@ blocksBetween env (cid, Low low, High up) = do
(,) <$> o .: "header" <*> o .: "payloadWithOutputs"
case parseEither itemParser item of
Left e -> Nothing <$ logg Logger.Error
(fromString $ printf "Error parsing block %d in range (%d, %d, %d): %s" idx cid low up e)
(fromString $ printf "Error parsing block %d in range %s: %s" idx rangeStr e)
where rangeStr = show (cid, low, up)
Right res -> pure $ Just res
where
v = _nodeInfo_chainwebVer $ _env_nodeInfo env
Expand Down

0 comments on commit bb2f33c

Please sign in to comment.