From 5de28f6a6be9caa66132a329aef5b97d6071effc Mon Sep 17 00:00:00 2001 From: MS Date: Mon, 16 Jan 2023 21:06:27 +0100 Subject: adapting tests to latest change --- sandbox/src/main/kotlin/tech/libeufin/sandbox/Main.kt | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'sandbox/src/main/kotlin/tech/libeufin/sandbox/Main.kt') diff --git a/sandbox/src/main/kotlin/tech/libeufin/sandbox/Main.kt b/sandbox/src/main/kotlin/tech/libeufin/sandbox/Main.kt index 906ea637..48f22ca9 100644 --- a/sandbox/src/main/kotlin/tech/libeufin/sandbox/Main.kt +++ b/sandbox/src/main/kotlin/tech/libeufin/sandbox/Main.kt @@ -515,7 +515,7 @@ val sandboxApp: Application.() -> Unit = { } // Not necessarily the bank's fault. exception { call, cause -> - logger.debug("Exception while handling '${call.request.uri}', ${cause.reason}") + logger.error("Exception while handling '${call.request.uri}', ${cause.reason}") call.respond( cause.statusCode, SandboxErrorJson( @@ -528,7 +528,7 @@ val sandboxApp: Application.() -> Unit = { } // Not necessarily the bank's fault. exception { call, cause -> - logger.debug("Exception while handling '${call.request.uri}', ${cause.reason}") + logger.error("Exception while handling '${call.request.uri}', ${cause.reason}") call.respond( cause.statusCode, SandboxErrorJson( @@ -557,7 +557,7 @@ val sandboxApp: Application.() -> Unit = { "Did not find bad request details." ) } - logger.debug(errorMessage) + logger.error(errorMessage) call.respond( HttpStatusCode.BadRequest, SandboxErrorJson( -- cgit v1.2.3