summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorOpenGnSys Support Team <soporte-og@soleta.eu>2023-12-16 17:14:56 +0100
committerOpenGnSys Support Team <soporte-og@soleta.eu>2023-12-16 17:15:34 +0100
commit2bddf205d94f0ad9ad1fefdcac671357cf558087 (patch)
treee66cac5a17fc3c70ce0910d4aec73fda1ddeba5c
parent5d19ff5fe919da438cf49bc8de92015156d9eaec (diff)
live: display filesystem and device path if image_create() fails
display filesystem and path to device.
-rw-r--r--src/live/ogOperations.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/live/ogOperations.py b/src/live/ogOperations.py
index 1747364..0d29948 100644
--- a/src/live/ogOperations.py
+++ b/src/live/ogOperations.py
@@ -482,7 +482,7 @@ class OgLiveOperations:
except:
self._restartBrowser(self._url)
logging.exception('Exception when running "image create" subprocess')
- raise ValueError('Error: Incorrect command value')
+ raise ValueError(f'Error: Cannot create image for {fstype} filesyste in device {padev}')
try:
st = os.stat(image_path)