From 0be570ae2df88c7181c50cd643b244f74f793103 Mon Sep 17 00:00:00 2001 From: Carlosokumu Date: Tue, 15 Oct 2024 16:31:31 +0300 Subject: [PATCH] add check for api call failure --- services/registration/amount.vis | 1 + 1 file changed, 1 insertion(+) diff --git a/services/registration/amount.vis b/services/registration/amount.vis index b491fab..e87006e 100644 --- a/services/registration/amount.vis +++ b/services/registration/amount.vis @@ -5,6 +5,7 @@ MOUT back 0 HALT LOAD validate_amount 64 RELOAD validate_amount +CATCH api_failure flag_api_call_error 1 CATCH invalid_amount flag_invalid_amount 1 INCMP _ 0 LOAD get_recipient 12