mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
Put a message alongside the exception to the logs
This commit is contained in:
parent
4bc43124b7
commit
116e1809fc
1 changed files with 1 additions and 1 deletions
|
@ -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:
|
||||
|
|
Loading…
Add table
Reference in a new issue