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)