gnunet-svn
[Top][All Lists]
Advanced

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

[libeufin] branch master updated: comment


From: gnunet
Subject: [libeufin] branch master updated: comment
Date: Sat, 31 Dec 2022 09:53:54 +0100

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 0ebb94f8 comment
0ebb94f8 is described below

commit 0ebb94f89e3373533c2e21ff56272095ae12292d
Author: MS <ms@taler.net>
AuthorDate: Sat Dec 31 09:53:50 2022 +0100

    comment
---
 sandbox/src/main/kotlin/tech/libeufin/sandbox/Main.kt | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)

diff --git a/sandbox/src/main/kotlin/tech/libeufin/sandbox/Main.kt 
b/sandbox/src/main/kotlin/tech/libeufin/sandbox/Main.kt
index d535785a..391ff97e 100644
--- a/sandbox/src/main/kotlin/tech/libeufin/sandbox/Main.kt
+++ b/sandbox/src/main/kotlin/tech/libeufin/sandbox/Main.kt
@@ -545,7 +545,12 @@ val sandboxApp: Application.() -> Unit = {
                 )
             )
         }
-        // Happens when a request fails to parse.
+        /**
+         * Happens when a request fails to parse.  This branch triggers
+         * only when a JSON request fails.  XML problems are caught within
+         * the /ebicsweb handler and always ultimately rethrown as 
"EbicsRequestError",
+         * hence they do not reach this branch.
+         */
         exception<BadRequestException> { call, wrapper ->
             var rootCause = wrapper.cause
             while (rootCause?.cause != null) rootCause = rootCause.cause

-- 
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]