[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[libeufin] branch master updated: error message
From: |
gnunet |
Subject: |
[libeufin] branch master updated: error message |
Date: |
Wed, 22 Jul 2020 22:22:50 +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 a5c17f1 error message
a5c17f1 is described below
commit a5c17f1b04f96d8c9488808f29d32e8305a84b52
Author: MS <ms@taler.net>
AuthorDate: Wed Jul 22 22:22:47 2020 +0200
error message
---
nexus/src/test/kotlin/DBTest.kt | 1 +
sandbox/src/main/kotlin/tech/libeufin/sandbox/EbicsProtocolBackend.kt | 3 +--
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/nexus/src/test/kotlin/DBTest.kt b/nexus/src/test/kotlin/DBTest.kt
index ce261d0..5d32eb3 100644
--- a/nexus/src/test/kotlin/DBTest.kt
+++ b/nexus/src/test/kotlin/DBTest.kt
@@ -38,6 +38,7 @@ object MyTable : Table() {
class DBTest {
// @Test(expected = ExposedSQLException::class)
+ @Test
fun sqlDslTest() {
withTestDatabase {
transaction {
diff --git
a/sandbox/src/main/kotlin/tech/libeufin/sandbox/EbicsProtocolBackend.kt
b/sandbox/src/main/kotlin/tech/libeufin/sandbox/EbicsProtocolBackend.kt
index 6bf413d..6a9d0d5 100644
--- a/sandbox/src/main/kotlin/tech/libeufin/sandbox/EbicsProtocolBackend.kt
+++ b/sandbox/src/main/kotlin/tech/libeufin/sandbox/EbicsProtocolBackend.kt
@@ -581,9 +581,8 @@ private fun handleCct(paymentRequest: String,
initiatorName: String) {
}
}
} catch (e: ExposedSQLException) {
- // if (e.sqlState == "SQL_CONSTRAINT_FAILED")
+ logger.warn("Could not insert new payment into the database: ${e}")
throw EbicsRequestError("[EBICS_PROCESSING_ERROR] ${e.sqlState}",
"091116")
- logger.warn("DB issue: ${e.sqlState}")
}
}
--
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [libeufin] branch master updated: error message,
gnunet <=