summaryrefslogtreecommitdiffstats
path: root/src/live/parttypes.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/live/parttypes.py')
-rw-r--r--src/live/parttypes.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/live/parttypes.py b/src/live/parttypes.py
index 21729a3..b4c1793 100644
--- a/src/live/parttypes.py
+++ b/src/live/parttypes.py
@@ -54,4 +54,4 @@ def get_parttype(cxt, ptype_str):
elif cxt.label.name == 'gpt':
return get_gpt_parttype(cxt, ptype_str)
else:
- raise RuntimeError('BUG: Invalid partition label')
+ raise RuntimeError(f'Invalid partition label \'{cxt.label.name}\'')