From 0365ddc0eb0ba1e87140df878aaee57b366dc0ee Mon Sep 17 00:00:00 2001 From: Eric <5089238+emizzle@users.noreply.github.com> Date: Thu, 14 Sep 2023 10:50:37 +1000 Subject: [PATCH] add more debugging --- codex/market.nim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/codex/market.nim b/codex/market.nim index def94398..e3852a91 100644 --- a/codex/market.nim +++ b/codex/market.nim @@ -83,7 +83,7 @@ template cancelOnError*(market: Market, body) = try: body except JsonRpcProviderError as e: - echo "[market.cancelOnError] error encountered -- nonce: ", e.nonce + echo "[market.cancelOnError] error encountered -- nonce: ", e.nonce, ", error: ", e.msg if e.nonce.isSome: # send a 0-valued transaction with the errored nonce to prevent stuck txs await market.cancelTransaction(!e.nonce)