From 872b39b9b2473b0c01d5eaa0ae73d41d8f33701d 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 (cherry picked from commit 474646a6bb1bf882103d23189f1dc33c653aee94) --- addonmanager_utilities.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/addonmanager_utilities.py b/addonmanager_utilities.py index 4978b99..4750f89 100644 --- a/addonmanager_utilities.py +++ b/addonmanager_utilities.py @@ -426,7 +426,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