From 0b1f393705ff463f24dc26e06511526b914bec44 Mon Sep 17 00:00:00 2001 From: Nico <60229704+Marchand-Nicolas@users.noreply.github.com> Date: Thu, 12 Sep 2024 16:15:31 +0200 Subject: [PATCH] feat: improving error message for proscore signer task --- src/endpoints/quests/proscore/verify_signers.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/endpoints/quests/proscore/verify_signers.rs b/src/endpoints/quests/proscore/verify_signers.rs index f7107b88..5c852f6e 100644 --- a/src/endpoints/quests/proscore/verify_signers.rs +++ b/src/endpoints/quests/proscore/verify_signers.rs @@ -44,7 +44,7 @@ pub async fn handler( Ok(false) => get_error("You have not enabled 2FA in your wallet".to_string()), Err(e) => get_error(format!("Error while parsing Braavos signers: {}", e)), }, - Err(e) => get_error(format!("Error while fetching wallet signers: {}", e)), + Err(_) => get_error("You must use a Braavos wallet to complete this task".to_string()), } }