From 6f4bf18cf2790aa0e03461937c972a7c6c148fc8 Mon Sep 17 00:00:00 2001 From: "Antonio Melo Jr." Date: Wed, 30 Sep 2026 15:05:35 +0000 Subject: [PATCH] fixing the exception error object used when the server timeout --- th_cli/commands/abort_testing.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)