From e0827615f86f5ceb957502f587e76af1df8f8988 Mon Sep 17 00:00:00 2001 From: clearloop <26088946+clearloop@users.noreply.github.com> Date: Thu, 20 Jul 2023 14:50:43 +0800 Subject: [PATCH] chore(gsdk): present error logs for invalid transaction status --- gsdk/src/signer/calls.rs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/gsdk/src/signer/calls.rs b/gsdk/src/signer/calls.rs index 2ade80ce0c3..901a41a928e 100644 --- a/gsdk/src/signer/calls.rs +++ b/gsdk/src/signer/calls.rs @@ -344,15 +344,15 @@ impl Signer { b.extrinsic_hash() ), TxStatus::Retracted(h) => log::warn!(" Status: Retracted( {h} )"), - TxStatus::FinalityTimeout(h) => log::warn!(" Status: FinalityTimeout( {h} )"), + TxStatus::FinalityTimeout(h) => log::error!(" Status: FinalityTimeout( {h} )"), TxStatus::Finalized(b) => log::info!( " Status: Finalized( block hash: {}, extrinsic hash: {} )", b.block_hash(), b.extrinsic_hash() ), - TxStatus::Usurped(h) => log::warn!(" Status: Usurped( {h} )"), - TxStatus::Dropped => log::warn!(" Status: Dropped"), - TxStatus::Invalid => log::warn!(" Status: Invalid"), + TxStatus::Usurped(h) => log::error!(" Status: Usurped( {h} )"), + TxStatus::Dropped => log::error!(" Status: Dropped"), + TxStatus::Invalid => log::error!(" Status: Invalid"), } }