diff --git a/src/main.rs b/src/main.rs index 51ce422..37426a8 100644 --- a/src/main.rs +++ b/src/main.rs @@ -289,6 +289,8 @@ fn info_loop(shared_data: Arc>) -> Result<(), String> { //println!("Got response: {}", line); if line.starts_with("OK") { break; + } else if line.starts_with("ACK") { + println!("ERROR: {}", line); } else if line.starts_with("file: ") { let song_file = line.split_off(6); if song_file != lock.current_song {