From 17d3eb9a5bc8fa6adaff6b1b64a57fd432f2b4b4 Mon Sep 17 00:00:00 2001 From: dankito Date: Sun, 4 Oct 2020 21:59:05 +0200 Subject: [PATCH] Calling now lazy evaluating logger method --- .../kotlin/net/dankito/banking/mapper/fints4kModelMapper.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ui/fints4kBankingClient/src/commonMain/kotlin/net/dankito/banking/mapper/fints4kModelMapper.kt b/ui/fints4kBankingClient/src/commonMain/kotlin/net/dankito/banking/mapper/fints4kModelMapper.kt index 18cb0211..4f6078b4 100644 --- a/ui/fints4kBankingClient/src/commonMain/kotlin/net/dankito/banking/mapper/fints4kModelMapper.kt +++ b/ui/fints4kBankingClient/src/commonMain/kotlin/net/dankito/banking/mapper/fints4kModelMapper.kt @@ -46,7 +46,7 @@ open class fints4kModelMapper(protected val modelCreator: IModelCreator) { val account = findMatchingAccount(bank, retrievedData.account) if (account == null) { - log.error("No matching account found for ${retrievedData.account}. Has there an account been added we didn't map yet?") + log.error { "No matching account found for ${retrievedData.account}. Has there an account been added we didn't map yet?" } return null }