summaryrefslogtreecommitdiff
path: root/sandbox/src/main/kotlin/tech/libeufin
diff options
context:
space:
mode:
authorMS <ms@taler.net>2023-07-20 12:59:28 +0200
committerMS <ms@taler.net>2023-07-20 12:59:28 +0200
commit560bc13655f72b3b13dad3b172340236c60837c8 (patch)
tree4b83695030d523fe5ca080d7dc9ebd8a3c8563f9 /sandbox/src/main/kotlin/tech/libeufin
parent0a31cadb6c44cf697a6ebf318d6877986f87099c (diff)
downloadlibeufin-560bc13655f72b3b13dad3b172340236c60837c8.tar.gz
libeufin-560bc13655f72b3b13dad3b172340236c60837c8.tar.bz2
libeufin-560bc13655f72b3b13dad3b172340236c60837c8.zip
same as previous commit
Diffstat (limited to 'sandbox/src/main/kotlin/tech/libeufin')
-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 a5c0a17f..42a2a515 100644
--- a/sandbox/src/main/kotlin/tech/libeufin/sandbox/Main.kt
+++ b/sandbox/src/main/kotlin/tech/libeufin/sandbox/Main.kt
@@ -1394,7 +1394,7 @@ val sandboxApp: Application.() -> Unit = {
transaction { maybeOwnedAccount.demoBank.name }
)) {
logger.error("Account ${maybeOwnedAccount.label} would surpass debit threshold. Not withdrawing")
- throw SandboxError(HttpStatusCode.Forbidden, "Insufficient funds")
+ throw SandboxError(HttpStatusCode.Conflict, "Insufficient funds")
}
val wo: TalerWithdrawalEntity = transaction {
TalerWithdrawalEntity.new {