From 5e2e06b18339889893d8c1796be22e2049b634ac Mon Sep 17 00:00:00 2001 From: dankito Date: Tue, 21 Jul 2020 00:29:38 +0200 Subject: [PATCH] Fixed logging exception --- .../commonMain/kotlin/net/dankito/banking/fints/FinTsClient.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fints4k/src/commonMain/kotlin/net/dankito/banking/fints/FinTsClient.kt b/fints4k/src/commonMain/kotlin/net/dankito/banking/fints/FinTsClient.kt index 4d94731f..19ff890d 100644 --- a/fints4k/src/commonMain/kotlin/net/dankito/banking/fints/FinTsClient.kt +++ b/fints4k/src/commonMain/kotlin/net/dankito/banking/fints/FinTsClient.kt @@ -673,7 +673,7 @@ open class FinTsClient( } else { val bank = dialogContext.bank - log.error { "Request to $bank (${bank.finTs3ServerAddress}) failed" } // TODO: add webResponse.error + log.error(webResponse.error) { "Request to $bank (${bank.finTs3ServerAddress}) failed" } } return Response(false, exception = webResponse.error)