Stopping execution now only if a severe error occurred during balance retrieval that closed dialog
This commit is contained in:
parent
c7d6718cce
commit
d16450d46b
|
@ -363,8 +363,7 @@ open class FinTsClient(
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
mayGetBalance(parameter, dialogContext) { balanceResponse ->
|
mayGetBalance(parameter, dialogContext) { balanceResponse ->
|
||||||
if (balanceResponse.successful == false && balanceResponse.couldCreateMessage == true) { // don't break here if required HKSAL message is not implemented
|
if (dialogContext.didBankCloseDialog) {
|
||||||
closeDialog(dialogContext)
|
|
||||||
callback(GetTransactionsResponse(balanceResponse, RetrievedAccountData.unsuccessfulList(parameter.account)))
|
callback(GetTransactionsResponse(balanceResponse, RetrievedAccountData.unsuccessfulList(parameter.account)))
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
|
|
Loading…
Reference in New Issue