diff options
author | ms <ms@taler.net> | 2021-09-22 08:37:44 +0200 |
---|---|---|
committer | ms <ms@taler.net> | 2021-09-22 08:37:44 +0200 |
commit | 197996d952573f0103567c4e5b33ba53b1a316cb (patch) | |
tree | 8b353eedf605362b711582bcffaca182f2ba528e /sandbox/src/main/kotlin/tech/libeufin/sandbox/Main.kt | |
parent | 91cad84591efd36aa685b18ae2ba9939afb1a6f1 (diff) | |
download | libeufin-197996d952573f0103567c4e5b33ba53b1a316cb.tar.gz libeufin-197996d952573f0103567c4e5b33ba53b1a316cb.tar.bz2 libeufin-197996d952573f0103567c4e5b33ba53b1a316cb.zip |
more error codes
Diffstat (limited to 'sandbox/src/main/kotlin/tech/libeufin/sandbox/Main.kt')
-rw-r--r-- | sandbox/src/main/kotlin/tech/libeufin/sandbox/Main.kt | 4 |
1 files changed, 2 insertions, 2 deletions
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<SandboxError> { 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) |