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
1 changed files with 1 additions and 0 deletions

View File

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