2
0
mirror of https://github.com/m-labs/artiq.git synced 2024-12-26 11:48:27 +08:00

gui/applets: fix handling of process creation failure

This commit is contained in:
Sebastien Bourdeauducq 2016-09-06 23:07:22 +08:00
parent 76c407b4b9
commit 9e33bceb6f

View File

@ -137,6 +137,7 @@ class _AppletDock(QDockWidgetCloseDetect):
except: except:
logger.warning("Applet %s failed to start", self.applet_name, logger.warning("Applet %s failed to start", self.applet_name,
exc_info=True) exc_info=True)
return
asyncio.ensure_future( asyncio.ensure_future(
LogParser(self._get_log_source).stream_task( LogParser(self._get_log_source).stream_task(
self.ipc.process.stdout)) self.ipc.process.stdout))