From 2bddf205d94f0ad9ad1fefdcac671357cf558087 Mon Sep 17 00:00:00 2001 From: OpenGnSys Support Team Date: Sat, 16 Dec 2023 17:14:56 +0100 Subject: live: display filesystem and device path if image_create() fails display filesystem and path to device. --- src/live/ogOperations.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/live') 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) -- cgit v1.2.3-18-g5258