From 79ef509f15792aae5eb8fdae597dfc080212e4ce Mon Sep 17 00:00:00 2001 From: Anton Khirnov Date: Tue, 22 Dec 2009 11:10:09 +0100 Subject: mpclient: add an error message on status read fail --- nephilim/mpclient.py | 1 + 1 file changed, 1 insertion(+) diff --git a/nephilim/mpclient.py b/nephilim/mpclient.py index 0b7c1c6..ec0fd54 100644 --- a/nephilim/mpclient.py +++ b/nephilim/mpclient.py @@ -426,6 +426,7 @@ class MPClient(QtCore.QObject): self._status = self._update_status() if not self._status: + self.logger.error('Error reading status.') return self.disconnect_mpd() if self._status['songid'] != old_status['songid']: -- cgit v1.2.3