This commit is contained in:
sxyazi 2024-06-02 02:27:12 +08:00
parent 67308a77ac
commit 72b483f0c5
No known key found for this signature in database

View file

@ -81,7 +81,7 @@ impl Client {
match line.split(',').next() {
Some("hey") => {
if !Payload::from_str(&line)?.body.as_hey().is_some_and(|b| b.match_version()) {
bail!("Server version mismatch: `yazi` and `ya` must have the same version")
bail!("Server version mismatch - `yazi` and `ya` must have the same version")
}
}
Some("bye") => break,