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-08-29 15:26:15 +01:00 committed by Thomas Huth
parent 9f80f3695d
commit 124ab930ba

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)