From 560bc13655f72b3b13dad3b172340236c60837c8 Mon Sep 17 00:00:00 2001 From: MS Date: Thu, 20 Jul 2023 12:59:28 +0200 Subject: same as previous commit --- sandbox/src/main/kotlin/tech/libeufin/sandbox/Main.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sandbox/src/main/kotlin/tech/libeufin') 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 { -- cgit v1.2.3