From a74e6575152188e56dd4a2896b8ce78d5b653c5d Mon Sep 17 00:00:00 2001 From: Eric <5089238+emizzle@users.noreply.github.com> Date: Tue, 12 Sep 2023 17:00:52 +1000 Subject: [PATCH] more debug logging --- codex/market.nim | 1 + 1 file changed, 1 insertion(+) diff --git a/codex/market.nim b/codex/market.nim index 198deed2..71bfb509 100644 --- a/codex/market.nim +++ b/codex/market.nim @@ -83,6 +83,7 @@ template cancelOnError*(market: Market, body) = try: body except JsonRpcProviderError as e: + echo "[market.cancelOnError] error encountered -- nonce: ", nonce if e.nonce.isSome: # send a 0-valued transaction with the errored nonce to prevent stuck txs await market.cancelTransaction(!e.nonce)