Browse Source

input error behandlung

Key-exchange
Julian Graf 2 years ago
parent
commit
2546dd6ba1
1 changed files with 2 additions and 2 deletions
  1. 2
    2
      src/bin/client.rs

+ 2
- 2
src/bin/client.rs View File

@@ -17,8 +17,8 @@ fn main() {
}
println!("{}", buffer);
}
Err(_error) => {
println!("Fehlerhafte Eingabe!");
Err(error) => {
println!("error: {error}");
break;
}
}

Loading…
Cancel
Save