diff options
author | OpenGnSys Support Team <soporte-og@soleta.eu> | 2024-07-31 22:12:25 +0200 |
---|---|---|
committer | OpenGnSys Support Team <soporte-og@soleta.eu> | 2024-07-31 22:29:29 +0200 |
commit | 1011957bb745f33d2709c9831f327a71489b2998 (patch) | |
tree | 8fbaf163b20a384fe31c28396f79f0f23f76571b | |
parent | 9b317cf3e04a7a19a9db9d525c95f719458a78c4 (diff) |
live: use correct loglevel when reporting issues with listing cache contentsv1.3.2-14
instead of using info to report errors.
-rw-r--r-- | src/live/ogOperations.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/live/ogOperations.py b/src/live/ogOperations.py index 8505beb..42d415f 100644 --- a/src/live/ogOperations.py +++ b/src/live/ogOperations.py @@ -136,10 +136,10 @@ class OgLiveOperations: with open(checksum_file_path, 'r') as f: image_checksum = f.read() except (FileNotFoundError, PermissionError, OSError) as e: - logging.info(f'Error reading file at {checksum_file_path}: {e}') + logging.error(f'Cannot read checksum file {checksum_file_path}: {e}') if not image_checksum: - logging.info(f'Warning: empty checksum for image {file_name}') + logging.error(f'Empty checksum for image {file_name}') image_size = os.stat(file_path).st_size cache_contents.append({ |