commit 886c92fcaf42fa7a471509702a01a2d3837ad0e5 parent 6073299f1d75c0d91cee9fb2100ae45827c948ab Author: MS <ms@taler.net> Date: Mon, 30 Aug 2021 23:02:56 -1100 same + revert accidental change Diffstat:
| M | sandbox/src/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 @@ -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()