From 2ced5e3fbef0d0a23e7f4a617a505e1a641c4320 Mon Sep 17 00:00:00 2001 From: ms Date: Sun, 19 Sep 2021 14:56:46 +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 8482fefb..42c13b6f 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.reason}") call.respond( cause.statusCode, SandboxErrorJson( -- cgit v1.2.3