From 197996d952573f0103567c4e5b33ba53b1a316cb Mon Sep 17 00:00:00 2001 From: ms Date: Wed, 22 Sep 2021 08:37:44 +0200 Subject: more error codes --- sandbox/src/main/kotlin/tech/libeufin/sandbox/Main.kt | 4 ++-- 1 file changed, 2 insertions(+), 2 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 b7a65ed1..bc826211 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) + logger.error("Exception while handling '${call.request.uri}', ${cause.reason}") call.respond( cause.statusCode, SandboxErrorJson( @@ -1026,7 +1026,7 @@ fun serverMain(dbName: String, port: Int) { val ret = TalerWithdrawalStatus( selection_done = wo.selectionDone, transfer_done = wo.transferDone, - amount = "${currencyEnv}:1", + amount = "${currencyEnv}:5", suggested_exchange = "https://exchange.${envName}.taler.net/" ) call.respond(ret) -- cgit v1.2.3