Skip to content

Commit

Permalink
restore execNewBlock timeout logging
Browse files Browse the repository at this point in the history
Change-Id: I98a97488cbdf85a25a3e2b8effb52bf34012dc5d
  • Loading branch information
chessai authored and thoughtpolice committed May 31, 2024
1 parent 5d2be38 commit 8ea378c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions changes/2024-05-30T143733-0500.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Restore block timeout logging; a previous change accidentally removed this.
1 change: 1 addition & 0 deletions src/Chainweb/Pact/PactService.hs
Original file line number Diff line number Diff line change
Expand Up @@ -606,6 +606,7 @@ execNewBlock mpAccess miner = do
go (BlockFill g rks' i) rest
Left (CommandInvalidTxTimeout (TxTimeout h)) -> do
liftIO $ Vec.push failures h
liftPactServiceM $ logError $ "timed out on " <> sshow h
return (acc, True)

enforceUnique rks rk
Expand Down

0 comments on commit 8ea378c

Please sign in to comment.