better logging

This commit is contained in:
julian 2024-05-07 10:52:33 -06:00
parent 0ac8885aa8
commit 29e67ec0bf

View file

@ -1089,7 +1089,10 @@ mixin ElectrumXInterface<T extends Bip39HDCurrency> on Bip39HDWallet<T> {
return allTxHashes; return allTxHashes;
} catch (e, s) { } catch (e, s) {
Logging.instance.log("_fetchHistory: $e\n$s", level: LogLevel.Error); Logging.instance.log(
"$runtimeType._fetchHistory: $e\n$s",
level: LogLevel.Error,
);
rethrow; rethrow;
} }
} }