From 7649df6a6b8a590e3d322bdf894dd9e630b6fadf Mon Sep 17 00:00:00 2001 From: dankito Date: Wed, 12 Aug 2020 15:12:39 +0200 Subject: [PATCH] Fixed that if getting user's TAN procedures fails method didn't stop / still continued --- .../commonMain/kotlin/net/dankito/banking/fints/FinTsClient.kt | 1 + 1 file changed, 1 insertion(+) 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 5b282d73..c2b852d1 100644 --- a/fints4k/src/commonMain/kotlin/net/dankito/banking/fints/FinTsClient.kt +++ b/fints4k/src/commonMain/kotlin/net/dankito/banking/fints/FinTsClient.kt @@ -242,6 +242,7 @@ open class FinTsClient( if (newUserInfoResponse.isSuccessful == false) { // bank parameter (FinTS server address, ...) already seem to be wrong callback(newUserInfoResponse) + return@getUsersTanProcedures }