Change print to eprint

This commit is contained in:
Lennard Kittner
2025-08-24 12:29:04 +02:00
parent 9614f5b2b4
commit 4516354a76

View File

@@ -25,7 +25,7 @@ fn main() {
let mut device = loop {
match connect_compatible_device() {
Ok(d) => break d,
Err(e) => println!("Connecting failed with error: {e}"),
Err(e) => eprintln!("Connecting failed with error: {e}"),
}
std::thread::sleep(Duration::from_secs(1));
};