commit 011160577a53e1e8878346ef4771ceb939feb588
parent a31cc67b6cd904472f2ccd039ea0d3e283d47085
Author: MS <ms@taler.net>
Date: Tue, 31 Aug 2021 22:12:18 -1100
Errors policy.
For consistency with other parts of the code, "no data
available" becomes again a error case.
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/nexus/src/main/kotlin/tech/libeufin/nexus/ebics/EbicsClient.kt b/nexus/src/main/kotlin/tech/libeufin/nexus/ebics/EbicsClient.kt
@@ -84,7 +84,7 @@ suspend fun doEbicsDownloadTransaction(
val initResponse = parseAndValidateEbicsResponse(subscriberDetails, initResponseStr)
when (initResponse.technicalReturnCode) {
- EbicsReturnCode.EBICS_OK, EbicsReturnCode.EBICS_NO_DOWNLOAD_DATA_AVAILABLE -> {
+ EbicsReturnCode.EBICS_OK -> {
// Success, nothing to do!
}
else -> {