diff --git a/austin_tui/__main__.py b/austin_tui/__main__.py index d3f2da9..2780f63 100644 --- a/austin_tui/__main__.py +++ b/austin_tui/__main__.py @@ -24,7 +24,7 @@ import sys from typing import List, Optional -from austin import AustinError +from austin import AustinError, AustinTerminated from austin.aio import AsyncAustin from austin.cli import AustinArgumentParser, AustinCommandLineError from austin_tui import catch @@ -102,6 +102,8 @@ async def start(self, args: List[str]) -> None: """Start Austin and catch any exceptions.""" try: await super().start(args) + except AustinTerminated: + pass except AustinError as e: raise KeyboardInterrupt("Failed to start") from e diff --git a/pyproject.toml b/pyproject.toml index 905aa1e..2d78523 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -23,7 +23,7 @@ [tool.poetry] name = "austin-tui" -version = "0.1.2" +version = "0.1.3" description = "The top-like text-based user interface for Austin" license = "GPL-3.0-or-later" authors = ["Gabriele N. Tornetta "]