From 6e8a6ae47dafa1d97bae02bc17f4475d79afb452 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?dj8yf0=CE=BCl?= <26653921+dj8yfo@users.noreply.github.com> Date: Fri, 13 Dec 2024 16:10:07 +0200 Subject: [PATCH] chore: print searched location on miss on sign-with-legacy-keychain (#422) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: dj8yf0μl Co-authored-by: Artur Yurii Korchynskyi <42449190+akorchyn@users.noreply.github.com> --- .../sign_with_legacy_keychain/mod.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/transaction_signature_options/sign_with_legacy_keychain/mod.rs b/src/transaction_signature_options/sign_with_legacy_keychain/mod.rs index dcbc2a425..9ded9279b 100644 --- a/src/transaction_signature_options/sign_with_legacy_keychain/mod.rs +++ b/src/transaction_signature_options/sign_with_legacy_keychain/mod.rs @@ -129,9 +129,9 @@ impl SignLegacyKeychainContext { let signer_access_key_json = std::fs::read(&signer_access_key_file_path).wrap_err_with(|| { format!( - "Access key file for account <{}> on network <{}> not found!", + "Access key file for account <{}> on network <{}> not found! \nSearch location: {:?}", previous_context.prepopulated_transaction.signer_id, - network_config.network_name + network_config.network_name, signer_access_key_file_path ) })?; let signer_access_key: super::AccountKeyPair =