From a3ffc5ec92da14b5267e8fd5e3c82dddf521a0e0 Mon Sep 17 00:00:00 2001 From: Austin Liu Date: Wed, 14 Aug 2024 16:26:14 +0800 Subject: [PATCH] error handling for keyring if CI failed Signed-off-by: Austin Liu --- flyteidl/src/lib.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/flyteidl/src/lib.rs b/flyteidl/src/lib.rs index 6a4d69f3b0..9cd9383ad6 100644 --- a/flyteidl/src/lib.rs +++ b/flyteidl/src/lib.rs @@ -898,7 +898,8 @@ pub mod _flyteidl_rust { access_token } Err(error) => { - panic!("Failed at retrieving keyring: {:?}", error); + println!("Failed at retrieving keyring: {:?}", error); + "".to_string() } };