better logging

This commit is contained in:
Martin Konecny 2013-04-08 18:53:35 -04:00
parent 3d135a9f4a
commit aca651a1b4
5 changed files with 6 additions and 3 deletions

View file

@ -142,7 +142,7 @@ class PypoFetch(Thread):
tn.write('exit\n')
tn.read_all()
except Exception, e:
logger.error(str(e))
logger.error(traceback.format_exc())
finally:
lock.release()