diff --git a/fints4k/src/commonMain/kotlin/net/dankito/banking/fints/RequestExecutor.kt b/fints4k/src/commonMain/kotlin/net/dankito/banking/fints/RequestExecutor.kt index 2d8126b5..68924c52 100644 --- a/fints4k/src/commonMain/kotlin/net/dankito/banking/fints/RequestExecutor.kt +++ b/fints4k/src/commonMain/kotlin/net/dankito/banking/fints/RequestExecutor.kt @@ -46,7 +46,7 @@ open class RequestExecutor( open fun getAndHandleResponseForMessage(message: MessageBuilderResult, dialogContext: DialogContext, tanRequiredCallback: (TanResponse, BankResponse, callback: (BankResponse) -> Unit) -> Unit, callback: (BankResponse) -> Unit) { if (message.createdMessage == null) { - callback(BankResponse(false, messageCreationError = message)) + callback(BankResponse(false, messageCreationError = message, errorMessage = "Could not create FinTS message to be sent to bank")) // TODO: translate } else { getAndHandleResponseForMessage(message.createdMessage, dialogContext) { response ->