From 19b52365d3ae995dd33c5d23b2914e153cb7f9cc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?dj8yf0=CE=BCl?= Date: Sat, 30 Nov 2024 13:43:57 +0200 Subject: [PATCH] chore: print searched location on miss on sign-with-legacy-keychain --- .../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 2e9dd7ff..4a73a3f8 100644 --- a/src/transaction_signature_options/sign_with_legacy_keychain/mod.rs +++ b/src/transaction_signature_options/sign_with_legacy_keychain/mod.rs @@ -128,9 +128,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 =