From d3ca7002445d6a3103368f32283999079df4d10a Mon Sep 17 00:00:00 2001 From: Anton Hvornum Date: Thu, 22 Dec 2022 13:09:20 +0100 Subject: [PATCH] Adding debug information --- archinstall/lib/disk/helpers.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/archinstall/lib/disk/helpers.py b/archinstall/lib/disk/helpers.py index 2628dcb5..d2655977 100644 --- a/archinstall/lib/disk/helpers.py +++ b/archinstall/lib/disk/helpers.py @@ -234,7 +234,7 @@ def get_blockdevice_info(device_path, exclude_iso_dev :bool = True) -> Dict[str, information = get_loop_info(device_path) if not information: print("Exit code for blkid -p -o export was:", ex.exit_code) - raise SysCallError("Could not get loop information", exit_code=1) + raise SysCallError(f"Could not get loop information for {device_path.readlink().name}", exit_code=1) except SysCallError: print(f"Not a loop device, trying uevent rules for {device_path.readlink().name}")