(hotfix) print traceback when ftrack server in tray crashes

This commit is contained in:
iLLiCiTiT 2019-08-15 16:38:39 +02:00
parent 9016e6f7c9
commit ae3496ceea

View file

@ -88,9 +88,11 @@ class FtrackModule:
def set_action_server(self):
try:
self.action_server.run_server()
except Exception:
msg = 'Ftrack Action server crashed! Please try to start again.'
log.error(msg)
except Exception as exc:
log.error(
"Ftrack Action server crashed! Please try to start again.",
exc_info=True
)
# TODO show message to user
self.bool_action_server = False
self.set_menu_visibility()