Skip to content

Commit 2af598f

Browse files
ppenzinrhuanjl
authored andcommitted
Output failing ch command line in regenByteCode.py
Report failing command when regenerating bytecode in addition to the error.
1 parent 2a574fa commit 2af598f

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

tools/regenByteCode.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -137,6 +137,8 @@ def append_bytecode(header, command, in_path, file_name, error):
137137
job.wait()
138138
if job.returncode != 0:
139139
print(error)
140+
print('Command line: ')
141+
print(*command_with_file)
140142
sys.exit(1)
141143

142144
# Load file and ensure line endings are '\n' if on windows

0 commit comments

Comments
 (0)