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:
parent
9f80f3695d
commit
124ab930ba
1 changed files with 1 additions and 1 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue