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)