log traceback when webserver connection is not possible

This commit is contained in:
Jakub Trllo 2022-08-25 18:49:20 +02:00
parent 54b8719b76
commit 59f36cc7c8

View file

@ -53,9 +53,12 @@ class WebServerModule(OpenPypeModule, ITrayService):
try:
module.webserver_initialization(self.server_manager)
except Exception:
self.log.warning((
"Failed to connect module \"{}\" to webserver."
).format(module.name))
self.log.warning(
(
"Failed to connect module \"{}\" to webserver."
).format(module.name),
exc_info=True
)
def tray_init(self):
self.create_server_manager()