From 4f1b38f224a5eacddee4d08dbe288a102b17a655 Mon Sep 17 00:00:00 2001 From: SamuelGabriel Date: Thu, 2 May 2024 16:07:28 +0200 Subject: [PATCH] version_update_changes (#19) --- pyproject.toml | 3 ++- tabpfn_client/client.py | 5 ++++- 2 files changed, 6 insertions(+), 2 deletions(-) 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