mirror of
https://github.com/librespot-org/librespot.git
synced 2024-12-18 17:11:53 +00:00
Print error message on connection failure.
This commit is contained in:
parent
65d1c1bf8e
commit
37f6e3eb9c
1 changed files with 2 additions and 1 deletions
|
@ -484,7 +484,8 @@ impl Future for Main {
|
||||||
progress = true;
|
progress = true;
|
||||||
}
|
}
|
||||||
Ok(Async::NotReady) => (),
|
Ok(Async::NotReady) => (),
|
||||||
Err(_) => {
|
Err(error) => {
|
||||||
|
error!("Could not connect to server: {}", error);
|
||||||
self.connect = Box::new(futures::future::empty());
|
self.connect = Box::new(futures::future::empty());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue