tests/functional: fix formatting of exception args

The catch-all exception handler forgot the placeholder for
the exception details.

Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
Reviewed-by: Thomas Huth <thuth@redhat.com>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-ID: <20250829142616.2633254-3-berrange@redhat.com>
Signed-off-by: Thomas Huth <thuth@redhat.com>
This commit is contained in:
Daniel P. Berrangé
2025-09-09 09:57:51 +02:00
committed by Thomas Huth
parent 9f80f3695d
commit 124ab930ba
+1 -1
View File
@@ -173,7 +173,7 @@ class Asset:
continue
except Exception as e:
tmp_cache_file.unlink()
raise AssetError(self, "Unable to download: " % e)
raise AssetError(self, "Unable to download: %s" % e)
if not os.path.exists(tmp_cache_file):
raise AssetError(self, "Download retries exceeded", transient=True)