[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[libeufin] branch master updated: Logging policy.
From: |
gnunet |
Subject: |
[libeufin] branch master updated: Logging policy. |
Date: |
Sun, 15 Jan 2023 19:17:01 +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 3159d246 Logging policy.
3159d246 is described below
commit 3159d2465376e6fcc5b55731976a26270b6cfae9
Author: MS <ms@taler.net>
AuthorDate: Sun Jan 15 19:15:58 2023 +0100
Logging policy.
Only throwing stacktraces on unmanaged exceptions.
---
nexus/src/main/kotlin/tech/libeufin/nexus/server/NexusServer.kt | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/nexus/src/main/kotlin/tech/libeufin/nexus/server/NexusServer.kt
b/nexus/src/main/kotlin/tech/libeufin/nexus/server/NexusServer.kt
index 0ba9d975..1d00fb92 100644
--- a/nexus/src/main/kotlin/tech/libeufin/nexus/server/NexusServer.kt
+++ b/nexus/src/main/kotlin/tech/libeufin/nexus/server/NexusServer.kt
@@ -223,7 +223,10 @@ val nexusApp: Application.() -> Unit = {
)
}
exception<Exception> { call, cause ->
- logger.error("Uncaught exception while handling
'${call.request.uri}'", cause.message)
+ logger.error(
+ "Uncaught exception while handling '${call.request.uri}'",
+ cause.stackTraceToString()
+ )
cause.printStackTrace()
call.respond(
HttpStatusCode.InternalServerError,
--
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: Logging policy.,
gnunet <=