diff options
author | Alejandro Sirgo Rica <asirgo@soleta.eu> | 2024-10-07 12:10:36 +0200 |
---|---|---|
committer | Alejandro Sirgo Rica <asirgo@soleta.eu> | 2024-10-08 10:07:45 +0200 |
commit | 97c836e0e4a1de72b4020387392ea8564d13dc02 (patch) | |
tree | 5922b11b43d4d4483dce63cd0b8ada10d5b0629a /src | |
parent | f942b19eae90e9ca468cbe0a93e5dc9ad02b38d0 (diff) |
live: improve part not found log in image_create
Report the partition number of the missing partition.
Diffstat (limited to 'src')
-rw-r--r-- | src/live/ogOperations.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/live/ogOperations.py b/src/live/ogOperations.py index c372d2a..7ded532 100644 --- a/src/live/ogOperations.py +++ b/src/live/ogOperations.py @@ -629,7 +629,7 @@ class OgLiveOperations: if pa is None: self._restartBrowser(self._url) - raise OgError(f'Target partition /dev/{diskname} not found') + raise OgError(f'Target partition {partition} not found in /dev/{diskname}') padev = cxt.partition_to_string(pa, fdisk.FDISK_FIELD_DEVICE) fstype = cxt.partition_to_string(pa, fdisk.FDISK_FIELD_FSTYPE) |