From 97c836e0e4a1de72b4020387392ea8564d13dc02 Mon Sep 17 00:00:00 2001 From: Alejandro Sirgo Rica Date: Mon, 7 Oct 2024 12:10:36 +0200 Subject: live: improve part not found log in image_create Report the partition number of the missing partition. --- src/live/ogOperations.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) -- cgit v1.2.3-18-g5258