From c3ed83f77d7ced11ed09a30eaddbc77d6d83d716 Mon Sep 17 00:00:00 2001 From: sneurlax Date: Mon, 5 Feb 2024 22:40:39 -0600 Subject: [PATCH] add stack trace to _getFees error --- .../wallet/wallet_mixin_interfaces/electrumx_interface.dart | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/wallets/wallet/wallet_mixin_interfaces/electrumx_interface.dart b/lib/wallets/wallet/wallet_mixin_interfaces/electrumx_interface.dart index 04c97cecb..6c66f5d28 100644 --- a/lib/wallets/wallet/wallet_mixin_interfaces/electrumx_interface.dart +++ b/lib/wallets/wallet/wallet_mixin_interfaces/electrumx_interface.dart @@ -1287,9 +1287,9 @@ mixin ElectrumXInterface on Bip39HDWallet { Logging.instance.log("fetched fees: $feeObject", level: LogLevel.Info); _cachedFees = feeObject; return _cachedFees!; - } catch (e) { + } catch (e, s) { Logging.instance.log( - "Exception rethrown from _getFees(): $e", + "Exception rethrown from _getFees(): $e\nStack trace: $s", level: LogLevel.Error, ); if (_cachedFees == null) {