mirror of https://git.48k.eu/ogclient
live: improve part not found log in image_create
Report the partition number of the missing partition.master
parent
f942b19eae
commit
97c836e0e4
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue