summaryrefslogtreecommitdiff
path: root/sandbox/src/main/kotlin/tech/libeufin/sandbox/Main.kt
diff options
context:
space:
mode:
Diffstat (limited to 'sandbox/src/main/kotlin/tech/libeufin/sandbox/Main.kt')
-rw-r--r--sandbox/src/main/kotlin/tech/libeufin/sandbox/Main.kt2
1 files changed, 1 insertions, 1 deletions
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<SandboxError> { 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(