mirror of
https://github.com/librespot-org/librespot.git
synced 2024-12-18 17:11:53 +00:00
parent
786f8832d1
commit
5344258ba9
2 changed files with 3 additions and 3 deletions
|
@ -431,7 +431,7 @@ impl SpircTask {
|
|||
Some(result) => match result {
|
||||
Ok((username, frame)) => {
|
||||
if username != self.session.username() {
|
||||
error!("could not dispatch remote update: frame was intended for {}", username);
|
||||
warn!("could not dispatch remote update: frame was intended for {}", username);
|
||||
} else if let Err(e) = self.handle_remote_update(frame) {
|
||||
error!("could not dispatch remote update: {}", e);
|
||||
}
|
||||
|
@ -475,7 +475,7 @@ impl SpircTask {
|
|||
},
|
||||
cmd = async { commands?.recv().await }, if commands.is_some() => if let Some(cmd) = cmd {
|
||||
if let Err(e) = self.handle_command(cmd) {
|
||||
error!("could not dispatch command: {}", e);
|
||||
warn!("could not dispatch command: {}", e);
|
||||
}
|
||||
},
|
||||
event = async { player_events?.recv().await }, if player_events.is_some() => if let Some(event) = event {
|
||||
|
|
|
@ -301,7 +301,7 @@ impl Session {
|
|||
}
|
||||
Ok(Event::Eof) => break,
|
||||
Ok(_) => (),
|
||||
Err(e) => error!(
|
||||
Err(e) => warn!(
|
||||
"Error parsing XML at position {}: {:?}",
|
||||
reader.buffer_position(),
|
||||
e
|
||||
|
|
Loading…
Reference in a new issue