diff --git a/th_cli/commands/abort_testing.py b/th_cli/commands/abort_testing.py index 0f47e36..263967a 100644 --- a/th_cli/commands/abort_testing.py +++ b/th_cli/commands/abort_testing.py @@ -44,7 +44,7 @@ def abort_testing() -> None: click.echo(colorize_success(response.get("detail", "Testing aborted"))) except ResponseHandlingException as e: # Handle timeout and connection errors - if isinstance(e.source, TimeoutException): + if isinstance(e.error, TimeoutException): click.echo(colorize_success("Abort request sent (backend may still be processing)")) else: click.echo(f"Error aborting test: {e}", err=True)