display more detailed info if connection to MPD couldn't be estabilished

master
Andrzej Rybczak 15 years ago
parent 00a7743a34
commit 62157909d5
  1. 2
      src/helpers.cpp

@ -42,7 +42,7 @@ bool ConnectToMPD()
{ {
if (!Mpd.Connect()) if (!Mpd.Connect())
{ {
std::cout << "Cannot connect to mpd: " << Mpd.GetErrorMessage() << std::endl; std::cout << "Couldn't connect to MPD (host = " << Mpd.GetHostname() << ", port = " << Mpd.GetPort() << "): " << Mpd.GetErrorMessage() << std::endl;
return false; return false;
} }
return true; return true;

Loading…
Cancel
Save