commit 78b0fb7d443ea2f513b60d10308396f874d35439
parent 19a2ecf92dc02a14a09fe4534dd54fee936a6e85
Author: Antoine A <>
Date: Mon, 13 Oct 2025 16:51:02 +0100
nexus: improve logging
Diffstat:
1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/nexus/src/main/kotlin/tech/libeufin/nexus/cli/EbicsSubmit.kt b/nexus/src/main/kotlin/tech/libeufin/nexus/cli/EbicsSubmit.kt
@@ -105,7 +105,11 @@ private suspend fun submitAll(client: EbicsClient, requireAck: Boolean) {
onSuccess = { orderId ->
client.db.initiated.batchSubmissionSuccess(batch.id, Instant.now(), orderId)
val transactions = batch.payments.map { it.endToEndId }.joinToString(",")
- logger.info("Batch ${batch.messageId} submitted as order $orderId: $transactions")
+ if (instantDebitOrder == null) {
+ logger.info("Batch ${batch.messageId} submitted as order $orderId: $transactions")
+ } else {
+ logger.info("Instant batch ${batch.messageId} submitted as order $orderId: $transactions")
+ }
},
onFailure = { e ->
client.db.initiated.batchSubmissionFailure(batch.id, Instant.now(), e.message)