summaryrefslogtreecommitdiffstats
path: root/src/utils/disk.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/utils/disk.py')
-rw-r--r--src/utils/disk.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/utils/disk.py b/src/utils/disk.py
index e26983c..1f1fdab 100644
--- a/src/utils/disk.py
+++ b/src/utils/disk.py
@@ -33,4 +33,4 @@ def get_partition_device(disknum, partnum):
if pa.partno == partnum - 1:
return cxt.partition_to_string(pa, fdisk.FDISK_FIELD_DEVICE)
- raise ValueError('No such partition')
+ raise ValueError(f'No such partition with disk index {disknum} and partition index {partnum}')