errMsg = QString("%1\n\nAttempted to clean wallet cache. Please restart Feather.").arg(errMsg);
this->handleWalletError({nullptr, Utils::ERROR, "Unable to open wallet", errMsg});
} else {
- this->handleWalletError({nullptr, Utils::ERROR, "Unable to open wallet", errMsg});
+ QStringList helpItems = {};
+ if (errMsg == "Failed to acquire device") {
+ helpItems.append("Try closing Trezor suite");
+ }
+
+ this->handleWalletError({nullptr, Utils::ERROR, "Unable to open wallet", errMsg, helpItems});
}
return;
}
}
if (seed.mnemonic.isEmpty()) {
- this->handleWalletError({nullptr, Utils::ERROR, "Failed to create wallet", "Mnemonic seed is emopty"});
+ this->handleWalletError({nullptr, Utils::ERROR, "Failed to create wallet", "Mnemonic seed is empty"});
return;
}
link = "https://wiki.trezor.io/Udev_rules";
#endif
}
+ else if (error.contains("Failed to acquire device")) {
+ helpItems = {"Try closing Trezor suite"};
+ }
if (error.contains("SW_CLIENT_NOT_SUPPORTED")) {
helpItems = {"Upgrade your Ledger device firmware to the latest version using Ledger Live.\n"
"Then upgrade the Monero app for the Ledger device to the latest version."};