mirror of
https://cdm-project.com/Download-Tools/devine.git
synced 2025-04-30 00:44:24 +02:00
fix(WVD): Move log with path before Device load
This is so if the Device.load() call fails, we can know which file of the many files failed.
This commit is contained in:
parent
9f4c4584da
commit
f683be01d4
@ -133,9 +133,9 @@ def dump(wvd_paths: list[Path], out_dir: Path) -> None:
|
||||
wvd_path = config.directories.wvds / f"{wvd_path.stem}.wvd"
|
||||
out_path.mkdir(parents=True, exist_ok=True)
|
||||
|
||||
log.info(f"Dumping: {wvd_path}")
|
||||
device = Device.load(wvd_path)
|
||||
|
||||
log.info(f"Dumping: {wvd_path}")
|
||||
log.info(f"L{device.security_level} {device.system_id} {device.type.name}")
|
||||
log.info(f"Saving to: {out_path}")
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user