From f562ce8adf51318e59b8e99111670585950b4525 Mon Sep 17 00:00:00 2001 From: Carlosokumu Date: Mon, 31 Mar 2025 15:41:49 +0300 Subject: [PATCH] check for api call failure when setting the dafault voucher --- services/registration/main.vis | 1 + 1 file changed, 1 insertion(+) diff --git a/services/registration/main.vis b/services/registration/main.vis index 1e2566d..30cadcd 100644 --- a/services/registration/main.vis +++ b/services/registration/main.vis @@ -2,6 +2,7 @@ LOAD clear_temporary_value 2 RELOAD clear_temporary_value LOAD set_default_voucher 8 RELOAD set_default_voucher +CATCH api_failure flag_api_call_error 1 LOAD check_vouchers 10 RELOAD check_vouchers CATCH api_failure flag_api_call_error 1