live: display filesystem and device path if image_create() fails

display filesystem and path to device.
master
OpenGnSys Support Team 2023-12-16 17:14:56 +01:00
parent 5d19ff5fe9
commit 2bddf205d9
1 changed files with 1 additions and 1 deletions

View File

@ -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)