From 25a2cb194dd73d8c6357a558332b9a6ef35270d6 Mon Sep 17 00:00:00 2001 From: Konstantin Ullrich Date: Tue, 17 Sep 2024 14:58:30 +0200 Subject: [PATCH] Upgrading to Ledger Flutter Plus --- lib/bitcoin_cash/cw_bitcoin_cash.dart | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/bitcoin_cash/cw_bitcoin_cash.dart b/lib/bitcoin_cash/cw_bitcoin_cash.dart index f06a23a90..a86fdca86 100644 --- a/lib/bitcoin_cash/cw_bitcoin_cash.dart +++ b/lib/bitcoin_cash/cw_bitcoin_cash.dart @@ -52,8 +52,8 @@ class CWBitcoinCash extends BitcoinCash { final hardwareWalletService = BitcoinCashHardwareWalletService(ledgerVM.connection); try { return hardwareWalletService.getAvailableAccounts(index: index, limit: limit); - } on LedgerException catch (err) { - print(err.message); + } catch (err) { + print(err); throw err; } }