Put a message alongside the exception to the logs

This commit is contained in:
Bo Maryniuk 2018-02-14 09:31:30 +01:00
parent 4bc43124b7
commit 116e1809fc

View file

@ -24,7 +24,7 @@ try:
if ZMQ_VERSION_INFO[0] > 16: # 17.0.x+ deprecates zmq's ioloops
ZMQDefaultLoop = tornado.ioloop.IOLoop
except Exception as ex:
log.exception(ex)
log.exception('Error while getting PyZMQ library version')
if ZMQDefaultLoop is None:
try: