From 1ca3639389ed116424ad5567403e09f18af74b87 Mon Sep 17 00:00:00 2001 From: OpenGnSys Support Team Date: Mon, 6 May 2024 19:10:11 +0200 Subject: live: rewrite log in case tiptorrent client fails Specify that image file cannot be found in cache because tiptorrent has failed, otherwise it is confusing. --- src/live/ogOperations.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/live/ogOperations.py b/src/live/ogOperations.py index a43e756..f0c30bf 100644 --- a/src/live/ogOperations.py +++ b/src/live/ogOperations.py @@ -174,7 +174,7 @@ class OgLiveOperations: raise if (not os.path.exists(image_path)): - raise OgError(f'Image file {image_path} does not exist') + raise OgError(f'could not find {image_path} in cache') if (not tip_check_csum(repo, name)): raise OgError(f'checksum file {name}.full.sum is missing in repository {repo}') -- cgit v1.2.3-18-g5258