commit 303756709602f1b916ba62bdafaf51e24185a930 parent 2ced5e3fbef0d0a23e7f4a617a505e1a641c4320 Author: ms <ms@taler.net> Date: Sun, 19 Sep 2021 14:57:51 +0200 error management Diffstat:
| M | sandbox/src/main/kotlin/tech/libeufin/sandbox/Main.kt | | | 2 | +- |
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/sandbox/src/main/kotlin/tech/libeufin/sandbox/Main.kt b/sandbox/src/main/kotlin/tech/libeufin/sandbox/Main.kt @@ -434,7 +434,7 @@ fun serverMain(dbName: String, port: Int) { ) } exception<SandboxError> { cause -> - logger.error("Exception while handling '${call.request.uri}': ${cause.reason}") + logger.error("Exception while handling '${call.request.uri}'", cause) call.respond( cause.statusCode, SandboxErrorJson(