From 240756f98bf71e771c9cf04e6f4d5178fa0a60f1 Mon Sep 17 00:00:00 2001 From: Martin Konecny Date: Fri, 4 May 2012 19:50:16 -0400 Subject: [PATCH] CC-3767: Pypo push crashed --- python_apps/pypo/pypopush.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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()