From ae3496ceeadf3f51e27c7a3098c8c0f093c3757d Mon Sep 17 00:00:00 2001 From: iLLiCiTiT Date: Thu, 15 Aug 2019 16:38:39 +0200 Subject: [PATCH] (hotfix) print traceback when ftrack server in tray crashes --- pype/ftrack/tray/ftrack_module.py | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/pype/ftrack/tray/ftrack_module.py b/pype/ftrack/tray/ftrack_module.py index adcce9c2b1..ce2754c25d 100644 --- a/pype/ftrack/tray/ftrack_module.py +++ b/pype/ftrack/tray/ftrack_module.py @@ -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()