[generator] Fix error message

Signed-off-by: Harry Bond <me@hbond.xyz>
This commit is contained in:
hb0nd
2025-06-22 13:35:00 +02:00
committed by Harry Bond
parent 32eefec665
commit d74f7c1594

View File

@@ -34,7 +34,7 @@ def build_osmtools(path, output=subprocess.DEVNULL, error=subprocess.DEVNULL):
if c.wait() != os.EX_OK: if c.wait() != os.EX_OK:
messages.append(f"The launch of {' '.join(c.args)} failed.") messages.append(f"The launch of {' '.join(c.args)} failed.")
if messages: if messages:
raise BadExitStatusError("\n".split(messages)) raise BadExitStatusError("\n".join(messages))
return result return result