From 303756709602f1b916ba62bdafaf51e24185a930 Mon Sep 17 00:00:00 2001 From: ms Date: Sun, 19 Sep 2021 14:57:51 +0200 Subject: error management --- 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 index 42c13b6f..f51e287e 100644 --- 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 { 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( -- cgit v1.2.3