mirror of
https://github.com/rustdesk/rustdesk.git
synced 2025-06-07 09:52:49 +08:00
improve err
This commit is contained in:
parent
836950354b
commit
4f8f34ec01
@ -283,7 +283,7 @@ impl Client {
|
||||
|
||||
if !key.is_empty() && !token.is_empty() {
|
||||
// mainly for the security of token
|
||||
secure_tcp(&mut socket, key).await?;
|
||||
secure_tcp(&mut socket, key).await.map_err(|e| anyhow!("Failed to secure tcp: {}", e))?;
|
||||
}
|
||||
|
||||
let start = std::time::Instant::now();
|
||||
|
Loading…
Reference in New Issue
Block a user