commit 30d63a574aa2737e8647ced602fac8f47269fdb7
parent ba7537287a34d5e82925d7e3df8f377cddd1addb
Author: MS <ms@taler.net>
Date: Wed, 5 Apr 2023 12:51:23 +0200
reverting
Diffstat:
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/sandbox/src/main/kotlin/tech/libeufin/sandbox/CircuitApi.kt b/sandbox/src/main/kotlin/tech/libeufin/sandbox/CircuitApi.kt
@@ -551,11 +551,10 @@ fun circuitApi(circuitRoute: Route) {
message = op.tan
)
} catch (e: Exception) {
- logger.error(
+ throw internalServerError(
"Sending the e-mail TAN failed for ${customer.email}." +
" The command threw this exception: ${e.message}"
)
- false
}
if (!isSuccessful)
throw internalServerError(