From 474646a6bb1bf882103d23189f1dc33c653aee94 Mon Sep 17 00:00:00 2001 From: Chris Hennes Date: Tue, 2 Jun 2026 13:40:14 -0500 Subject: [PATCH] Eliminate the exception from blocking_get --- addonmanager_utilities.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/addonmanager_utilities.py b/addonmanager_utilities.py index 6d68a23..c2b3f0b 100644 --- a/addonmanager_utilities.py +++ b/addonmanager_utilities.py @@ -425,7 +425,10 @@ def blocking_get(url: str, method=None) -> bytes: p = b"" parse_result = urlparse(url) if parse_result.scheme != "https": - raise ValueError(f"Invalid URL scheme: {parse_result.scheme} (only https is supported)") + fci.Console.PrintWarning( + f"Invalid URL scheme: {parse_result.scheme} (only https is supported)" + ) + return p if ( fci.FreeCADGui and method is None