From 95b9a6e48632941da862bf4a58964299231c7680 Mon Sep 17 00:00:00 2001 From: Carlosokumu Date: Fri, 28 Mar 2025 16:09:53 +0300 Subject: [PATCH] catch api call failure when fetching voucher details --- services/registration/voucher_details.vis | 2 ++ 1 file changed, 2 insertions(+) diff --git a/services/registration/voucher_details.vis b/services/registration/voucher_details.vis index 1b009f1..628e034 100644 --- a/services/registration/voucher_details.vis +++ b/services/registration/voucher_details.vis @@ -1,5 +1,7 @@ CATCH no_voucher flag_no_active_voucher 1 LOAD get_voucher_details 0 +RELOAD get_voucher_details +CATCH api_failure flag_api_call_error 1 MAP get_voucher_details MOUT back 0 HALT