Throw error when mpd returns an unexpected response

This commit is contained in:
Sijmen 2023-05-16 02:02:21 +02:00
parent 62651ea80b
commit 9dfa38225f
Signed by: vijfhoek
GPG Key ID: DAF7821E067D9C48
1 changed files with 1 additions and 0 deletions

View File

@ -160,6 +160,7 @@ impl Mpd {
break Err(anyhow!(buffer));
} else {
println!("Unexpected MPD response {buffer}");
break Err(anyhow!(buffer));
}
}
}