Improved a few things

This commit is contained in:
2026-08-28 14:16:58 +02:00
parent 9d59da3a4e
commit ba17cec5e1
2 changed files with 7 additions and 4 deletions
+1 -1
View File
@@ -151,7 +151,7 @@ pub async fn crypto_handshake(
.transpose()?
.ok_or(anyhow::anyhow!("Failed to get client x key"))?
else {
return Err(anyhow::anyhow!(""));
return Err(anyhow::anyhow!("WS message is not binary"));
};
let client_pubkey = X25519Public::from(*raw_pubkey.as_array().ok_or(anyhow::anyhow!(