Throw error when mpd returns an unexpected response
This commit is contained in:
parent
62651ea80b
commit
9dfa38225f
1 changed files with 1 additions and 0 deletions
|
@ -160,6 +160,7 @@ impl Mpd {
|
|||
break Err(anyhow!(buffer));
|
||||
} else {
|
||||
println!("Unexpected MPD response {buffer}");
|
||||
break Err(anyhow!(buffer));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue