summaryrefslogtreecommitdiffstats
path: root/src/live
diff options
context:
space:
mode:
Diffstat (limited to 'src/live')
-rw-r--r--src/live/ogOperations.py2
-rw-r--r--src/live/parttypes.py2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/live/ogOperations.py b/src/live/ogOperations.py
index d3b9d58..af9bd25 100644
--- a/src/live/ogOperations.py
+++ b/src/live/ogOperations.py
@@ -270,7 +270,7 @@ class OgLiveOperations:
if not mount_mkdir(partdev, mountpoint):
raise RuntimeError(f'Error mounting {partdev} at {mountpoint}')
if not os.path.ismount(mountpoint):
- raise RuntimeError('Invalid mountpoint for software inventory')
+ raise RuntimeError(f'Invalid mountpoint {mountpoint} for software inventory')
self._restartBrowser(self._url_log)
pkgset = get_package_set(mountpoint)
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}\'')