From b125bde9e4c8955fcfb6aae8ce9def13bfff726e Mon Sep 17 00:00:00 2001 From: sommerfeld Date: Wed, 24 Apr 2024 01:49:20 +0100 Subject: Use alt selector for displaying anyhow::Error --- src/wallets.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/wallets.rs') diff --git a/src/wallets.rs b/src/wallets.rs index cc4f157..9ee702c 100644 --- a/src/wallets.rs +++ b/src/wallets.rs @@ -183,13 +183,13 @@ impl WalletInfo { pub fn get_new_txs(&mut self) -> Vec { debug!("[{}] syncing wallet", self.name); if let Err(e) = self.wallet.sync(&self.blockchain, SyncOptions::default()) { - warn!("[{}] cannot sync wallet: {}", self.name, e); + warn!("[{}] cannot sync wallet: {:#}", self.name, e); return Default::default(); } let tx_list = match self.wallet.list_transactions(false) { Ok(txs) => txs, Err(e) => { - warn!("[{}] cannot retrieve transactions: {}", self.name, e); + warn!("[{}] cannot retrieve transactions: {:#}", self.name, e); Default::default() } }; @@ -223,7 +223,7 @@ pub fn get_wallets( }))); } Err(e) => { - error!("[{}] cannot setup wallet: {}", name, e); + error!("[{}] cannot setup wallet: {:#}", name, e); } } } -- cgit v1.2.3-70-g09d2