about summary refs log tree commit diff
path: root/src/player.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/player.rs')
-rw-r--r--src/player.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/player.rs b/src/player.rs
index df45571..d533f48 100644
--- a/src/player.rs
+++ b/src/player.rs
@@ -186,9 +186,9 @@ impl SimpleComponent for Player {
 
                     match play_message {
                         PlayMessage::Error(error_msg) => {
-                            eprintln!("Playback error: {:?}", error_msg.error());
+                            log::error!("Playback error: {:?}", error_msg.error());
                             if let Some(details) = error_msg.details() {
-                                eprintln!("Error details: {:?}", details);
+                                log::error!("Error details: {:?}", details);
                             }
                         }
                         PlayMessage::PositionUpdated(pos) => {