From 03d8074fdae4f2906df3ff68662a7b4a38d0c9ef Mon Sep 17 00:00:00 2001 From: dankito Date: Sun, 4 Oct 2020 19:21:05 +0200 Subject: [PATCH] Using lazy evaluating logger method now --- .../kotlin/net/dankito/banking/fints4kBankingClient.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ui/fints4kBankingClient/src/commonMain/kotlin/net/dankito/banking/fints4kBankingClient.kt b/ui/fints4kBankingClient/src/commonMain/kotlin/net/dankito/banking/fints4kBankingClient.kt index db208214..763f669f 100644 --- a/ui/fints4kBankingClient/src/commonMain/kotlin/net/dankito/banking/fints4kBankingClient.kt +++ b/ui/fints4kBankingClient/src/commonMain/kotlin/net/dankito/banking/fints4kBankingClient.kt @@ -215,7 +215,7 @@ open class fints4kBankingClient( serializer.serializeObject(fintsBank, clientDataFile) } catch (e: Exception) { - log.error("Could not save bank data for $fintsBank", e) + log.error(e) { "Could not save bank data for $fintsBank" } } }