diff --git a/python_apps/pypo/pypopush.py b/python_apps/pypo/pypopush.py index 6e8592c68..56736c107 100644 --- a/python_apps/pypo/pypopush.py +++ b/python_apps/pypo/pypopush.py @@ -129,7 +129,8 @@ class PypoPush(Thread): tn.write('exit\n') tn.read_all() except Exception, e: - self.logger.error(str(e)) + self.logger.error("Error connecting to Liquidsoap: %s", e) + response = [] finally: self.telnet_lock.release()