Skip to content

Commit

Permalink
version_update_changes (#19)
Browse files Browse the repository at this point in the history
  • Loading branch information
SamuelGabriel authored May 2, 2024
1 parent 7487032 commit 4f1b38f
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
3 changes: 2 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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]
Expand Down
5 changes: 4 additions & 1 deletion tabpfn_client/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 4f1b38f

Please sign in to comment.