diff --git a/pyproject.toml b/pyproject.toml index e1c6517..7d0f872 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -4,13 +4,14 @@ build-backend = "hatchling.build" [project] name = "tabpfn-client" -version = "0.0.7" +version = "0.0.11" requires-python = ">=3.10" dependencies = [ "httpx>=0.24.1", "pandas>=1.3.0", "omegaconf>=2.3.0", "tabpfn>=0.1.9", + "password_strength", ] [tool.hatch.build.targets.wheel] diff --git a/tabpfn_client/client.py b/tabpfn_client/client.py index 96892e0..155f8ad 100644 --- a/tabpfn_client/client.py +++ b/tabpfn_client/client.py @@ -196,7 +196,10 @@ def try_connection(self) -> bool: if response.status_code == 200: found_valid_connection = True - except httpx.ConnectError: + except httpx.ConnectError as e: + logger.error(f"Failed to connect to the server with error: {e}") + import traceback + traceback.print_exc() found_valid_connection = False return found_valid_connection