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 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 {