gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[libeufin] branch master updated: same + revert accidental change


From: gnunet
Subject: [libeufin] branch master updated: same + revert accidental change
Date: Tue, 31 Aug 2021 12:03:00 +0200

This is an automated email from the git hooks/post-receive script.

ms pushed a commit to branch master
in repository libeufin.

The following commit(s) were added to refs/heads/master by this push:
     new 886c92f  same + revert accidental change
886c92f is described below

commit 886c92fcaf42fa7a471509702a01a2d3837ad0e5
Author: MS <ms@taler.net>
AuthorDate: Mon Aug 30 23:02:56 2021 -1100

    same + revert accidental change
---
 .../main/kotlin/tech/libeufin/sandbox/EbicsProtocolBackend.kt  | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

diff --git 
a/sandbox/src/main/kotlin/tech/libeufin/sandbox/EbicsProtocolBackend.kt 
b/sandbox/src/main/kotlin/tech/libeufin/sandbox/EbicsProtocolBackend.kt
index d331129..8c2c7fc 100644
--- a/sandbox/src/main/kotlin/tech/libeufin/sandbox/EbicsProtocolBackend.kt
+++ b/sandbox/src/main/kotlin/tech/libeufin/sandbox/EbicsProtocolBackend.kt
@@ -627,7 +627,10 @@ private fun handleCct(paymentRequest: String) {
             }
         } catch (e: ExposedSQLException) {
             logger.warn("Could not insert new payment into the database: ${e}")
-            throw EbicsUnsupportedOrderType()
+            throw EbicsRequestError(
+                "[EBICS_PROCESSING_ERROR] ${e.sqlState}",
+                "091116"
+            )
         }
     }
 }
@@ -974,10 +977,7 @@ private fun 
handleEbicsDownloadTransactionInitialization(requestContext: Request
         "HTD" -> handleEbicsHtd(requestContext)
         "HKD" -> handleEbicsHkd(requestContext)
         "C53" -> handleEbicsC53(requestContext)
-        "C52" -> throw EbicsRequestError(
-            "[EBICS_PROCESSING_ERROR] C52 not implemented",
-            "091116"
-        )
+        "C52" -> throw EbicsUnsupportedOrderType()
         "TSD" -> handleEbicsTSD()
         "PTK" -> handleEbicsPTK()
         else -> throw EbicsInvalidXmlError()

-- 
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]