Calling now lazy evaluating logger method

This commit is contained in:
dankito 2020-10-04 21:59:05 +02:00
parent 7b0a936897
commit 17d3eb9a5b
1 changed files with 1 additions and 1 deletions

View File

@ -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
}