on master help sign in
create_highlighted_versions: fix misleading/wrong error message
0b63ad5David Peter
tests/syntax-tests/create_highlighted_versions.py+1−1
@@ -91,7 +91,7 @@ def create_highlighted_versions(output_basepath):
91 p.map(create_highlighted_version, sources)
91 p.map(create_highlighted_version, sources)
92 except subprocess.CalledProcessError as err:
92 except subprocess.CalledProcessError as err:
93 print(
93 print(
94− "=== Error: Could not highlight source file '{}".format(source),
94+ "=== Error: Could not highlight source file:\n" + " ".join(err.cmd),
95 file=sys.stderr,
95 file=sys.stderr,
96 )
96 )
97 print(
97 print(