improve err
This commit is contained in:
parent
836950354b
commit
4f8f34ec01
1 changed files with 1 additions and 1 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue