summaryrefslogtreecommitdiff
path: root/kvmd/apps/janus/runner.py
diff options
context:
space:
mode:
Diffstat (limited to 'kvmd/apps/janus/runner.py')
-rw-r--r--kvmd/apps/janus/runner.py5
1 files changed, 1 insertions, 4 deletions
diff --git a/kvmd/apps/janus/runner.py b/kvmd/apps/janus/runner.py
index a0110f47..204f8a9e 100644
--- a/kvmd/apps/janus/runner.py
+++ b/kvmd/apps/janus/runner.py
@@ -61,10 +61,7 @@ class JanusRunner: # pylint: disable=too-many-instance-attributes
def run(self) -> None:
logger = get_logger(0)
logger.info("Starting Janus Runner ...")
- try:
- aiotools.run(self.__run())
- except (SystemExit, KeyboardInterrupt):
- aiotools.run(self.__stop_janus())
+ aiotools.run(self.__run(), self.__stop_janus())
logger.info("Bye-bye")
# =====