remove excess/unneeded logging

This commit is contained in:
julian 2022-12-09 15:32:27 -06:00
parent 5f0e03dc1b
commit cc9a0efb38

View file

@ -1095,8 +1095,9 @@ abstract class SWB {
ExchangeTransaction? exTx;
try {
exTx = ExchangeTransaction.fromJson(trades[i] as Map<String, dynamic>);
} catch (e, s) {
Logging.instance.log("$e\n$s", level: LogLevel.Warning);
} catch (e) {
// unneeded log
// Logging.instance.log("$e\n$s", level: LogLevel.Warning);
}
Trade trade;
@ -1117,8 +1118,9 @@ abstract class SWB {
try {
exTx =
ExchangeTransaction.fromJson(trades.last as Map<String, dynamic>);
} catch (e, s) {
Logging.instance.log("$e\n$s", level: LogLevel.Warning);
} catch (e) {
// unneeded log
// Logging.instance.log("$e\n$s", level: LogLevel.Warning);
}
Trade trade;