From f5c85d706b6d2893eb084017fdbdfd2460ce3d1f Mon Sep 17 00:00:00 2001 From: Sam Hughes Date: Wed, 20 Aug 2025 14:39:49 +0100 Subject: [PATCH 1/3] feat: log error occurring when is_sdk_version_outdated throws --- vortexasdk/client.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/vortexasdk/client.py b/vortexasdk/client.py index 9398f32f..2a0bf68b 100644 --- a/vortexasdk/client.py +++ b/vortexasdk/client.py @@ -316,8 +316,9 @@ def _warn_user_if_sdk_version_outdated() -> None: f"You are using {sdk_pkg_name} version {__version__}, however version {latest_sdk_version} is available.\n" f"You should consider upgrading via the 'pip install {sdk_pkg_name} --upgrade' command." ) - except Exception: - logger.warning("Outdated SDK version check could not be completed. \n") + except Exception as e: + logger.warning("Outdated SDK version check could not be completed. See error below for more information.") + logger.warning(e) def _load_api_key(): From 4f926cbd43cb3c44dc120f80ab2af2a50b275306 Mon Sep 17 00:00:00 2001 From: Sam Hughes Date: Wed, 20 Aug 2025 14:42:23 +0100 Subject: [PATCH 2/3] chore: increment version --- vortexasdk/version.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vortexasdk/version.py b/vortexasdk/version.py index 9eb1ebec..bd538f76 100644 --- a/vortexasdk/version.py +++ b/vortexasdk/version.py @@ -1 +1 @@ -__version__ = "1.0.11" +__version__ = "1.0.12" From 77bfb8fa9289e0c628e0ccb1d6524a704eb9156f Mon Sep 17 00:00:00 2001 From: Sam Hughes Date: Wed, 20 Aug 2025 14:57:52 +0100 Subject: [PATCH 3/3] fix: formatting --- vortexasdk/client.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/vortexasdk/client.py b/vortexasdk/client.py index 2a0bf68b..f57c9c23 100644 --- a/vortexasdk/client.py +++ b/vortexasdk/client.py @@ -317,7 +317,9 @@ def _warn_user_if_sdk_version_outdated() -> None: f"You should consider upgrading via the 'pip install {sdk_pkg_name} --upgrade' command." ) except Exception as e: - logger.warning("Outdated SDK version check could not be completed. See error below for more information.") + logger.warning( + "Outdated SDK version check could not be completed. See error below for more information." + ) logger.warning(e)