Simplify warn logging

This commit is contained in:
Christoph Atteneder 2021-11-23 09:48:10 +01:00
parent 236cb2c6f3
commit 19e072795f
No known key found for this signature in database
GPG key ID: CD5DC1C529CDFD3B

View file

@ -444,7 +444,7 @@ public final class TradeStatistics3 implements ProcessOncePersistableNetworkPayl
maxTradeLimit = optionalPaymentMethod.get().getMaxTradeLimitAsCoin(currency).value;
}
} catch (Exception e) {
log.warn("Error at isValid(). " + e.toString(), e);
log.warn("Error at isValid().", e);
}
return amount > 0 &&
amount <= maxTradeLimit &&