[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[libeufin] branch master updated: make error message more expressive
From: |
gnunet |
Subject: |
[libeufin] branch master updated: make error message more expressive |
Date: |
Sat, 28 Oct 2023 11:25:32 +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 b09e712d make error message more expressive
b09e712d is described below
commit b09e712de580cd04e9d32ea6bb7249fbb8686f34
Author: MS <ms@taler.net>
AuthorDate: Sat Oct 28 11:25:23 2023 +0200
make error message more expressive
---
nexus/src/main/kotlin/tech/libeufin/nexus/EbicsSetup.kt | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/nexus/src/main/kotlin/tech/libeufin/nexus/EbicsSetup.kt
b/nexus/src/main/kotlin/tech/libeufin/nexus/EbicsSetup.kt
index f79fa7ab..ecaf3c24 100644
--- a/nexus/src/main/kotlin/tech/libeufin/nexus/EbicsSetup.kt
+++ b/nexus/src/main/kotlin/tech/libeufin/nexus/EbicsSetup.kt
@@ -331,10 +331,12 @@ class EbicsSetup: CliktCommand("Set up the EBICS
subscriber") {
if (checkFullConfig) {
doOrFail {
cfg.config.requireString("nexus-ebics-submit",
"frequency").apply {
- checkFrequency(this)
+ if (getFrequencyInSeconds(this) == null)
+ throw Exception("frequency value of nexus-ebics-submit
section is not valid: $this")
}
cfg.config.requireString("nexus-ebics-fetch",
"frequency").apply {
- checkFrequency(this)
+ if (getFrequencyInSeconds(this) == null)
+ throw Exception("frequency value of nexus-ebics-fetch
section is not valid: $this")
}
cfg.config.requirePath("nexus-ebics-fetch",
"statement_log_directory")
cfg.config.requireNumber("nexus-httpd", "port")
--
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: make error message more expressive,
gnunet <=