From acd0af25c6e84322f3cb46ec7f43928d0f24affa Mon Sep 17 00:00:00 2001 From: Carlosokumu Date: Mon, 21 Oct 2024 11:11:04 +0300 Subject: [PATCH] catch api call error --- services/registration/create_pin.vis | 2 ++ 1 file changed, 2 insertions(+) diff --git a/services/registration/create_pin.vis b/services/registration/create_pin.vis index e0e330f..44d2cf1 100644 --- a/services/registration/create_pin.vis +++ b/services/registration/create_pin.vis @@ -1,4 +1,6 @@ LOAD create_account 0 +RELOAD create_account +CATCH api_failure flag_api_call_error 1 CATCH account_creation_failed flag_account_creation_failed 1 MOUT exit 0 HALT