CC-3767: Pypo push crashed

This commit is contained in:
Martin Konecny 2012-05-04 19:50:16 -04:00
parent b01921abea
commit 240756f98b

View file

@ -129,7 +129,8 @@ class PypoPush(Thread):
tn.write('exit\n') tn.write('exit\n')
tn.read_all() tn.read_all()
except Exception, e: except Exception, e:
self.logger.error(str(e)) self.logger.error("Error connecting to Liquidsoap: %s", e)
response = []
finally: finally:
self.telnet_lock.release() self.telnet_lock.release()