Add hint for hw errors

This commit is contained in:
edouardparis 2024-03-12 16:58:22 +01:00
parent 8d33f49935
commit d2c4f13664

View File

@ -51,7 +51,7 @@ impl std::fmt::Display for Error {
DaemonError::CoinSelectionError => write!(f, "{}", e),
},
Self::Unexpected(e) => write!(f, "Unexpected error: {}", e),
Self::HardwareWallet(e) => write!(f, "{}", e),
Self::HardwareWallet(e) => write!(f, "error: {}\nPlease check if the device is still connected and unlocked with the correct firmware open for the current network and no other application is accessing the device.", e),
Self::Desc(e) => write!(f, "Liana descriptor error: {}", e),
}
}