libeufin

Integration and sandbox testing for FinTech APIs and data formats
Log | Files | Refs | Submodules | README | LICENSE

commit a5c17f1b04f96d8c9488808f29d32e8305a84b52
parent de879238703d1c8c65d8ce51f7429a0c95b12859
Author: MS <ms@taler.net>
Date:   Wed, 22 Jul 2020 22:22:47 +0200

error message

Diffstat:
Mnexus/src/test/kotlin/DBTest.kt | 1+
Msandbox/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 @@ -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 @@ -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}") } }