diff --git a/swap/src/cli/cancel_and_refund.rs b/swap/src/cli/cancel_and_refund.rs index 7c990a60..f4db3712 100644 --- a/swap/src/cli/cancel_and_refund.rs +++ b/swap/src/cli/cancel_and_refund.rs @@ -83,6 +83,7 @@ pub async fn cancel( return Ok((txid, state)); } if let Ok(error_code) = parse_rpc_error_code(&err) { + tracing::debug!(%error_code, "parse rpc error"); if error_code == i64::from(RpcErrorCode::RpcVerifyAlreadyInChain) { tracing::info!("Cancel transaction has already been confirmed on chain"); } else if error_code == i64::from(RpcErrorCode::RpcVerifyError) {