Skip to content

Commit

Permalink
Stop including unknown errors in outputs
Browse files Browse the repository at this point in the history
This must've been from early work in Pact 5 integration, which we
didn't spot because we weren't doing normal mainnet replays, just parity
replays.

Change-Id: Id0000000b119e36484da926eaf598f98ecc885e2
  • Loading branch information
edmundnoble committed Jan 25, 2025
1 parent 00ab7ae commit ff0cd40
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Chainweb/Pact4/Types.hs
Original file line number Diff line number Diff line change
Expand Up @@ -262,7 +262,7 @@ catchesPactError logger exnPrinting action = catches (Right <$> action)
return (viaShow e)
CensorsUnexpectedError -> do
liftIO $ logWarn_ logger ("catchesPactError: unknown error: " <> sshow e)
return ("unknown error " <> sshow e)
return "unknown error"
return $ Left $ PactError EvalError noInfo [] err
]

Expand Down

0 comments on commit ff0cd40

Please sign in to comment.