diff options
| author | Aetias <aetias@outlook.com> | 2025-07-06 14:48:09 +0200 |
|---|---|---|
| committer | Aetias <aetias@outlook.com> | 2025-07-06 14:48:09 +0200 |
| commit | 0a92fb84ec5beb4e51579e6d665313632779981d (patch) | |
| tree | 1c950417703c5e2fb0829e5cb4c4d18304e665f0 | |
| parent | 36b9d9dea418bfde388216dd2e0707c4be7f19d2 (diff) | |
configure: Print `dsd json delinks` error
| -rwxr-xr-x | tools/configure.py | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/tools/configure.py b/tools/configure.py index ef93ed71..3cba9d45 100755 --- a/tools/configure.py +++ b/tools/configure.py @@ -225,7 +225,10 @@ def main(): "json", "delinks", "--config-path", config_path / args.version / "arm9" / "config.yaml" - ], capture_output=True, text=True, check=True) + ], capture_output=True, text=True) + if out.returncode != 0: + print(f"Error running dsd:\n{out.stderr.strip()}") + return delinks_json = json.loads(out.stdout) project = Project(args.version, platform=platform, delinks_json=delinks_json) |
