Skip to content

Commit

Permalink
Output failing ch command line in regenByteCode.py
Browse files Browse the repository at this point in the history
Report failing command when regenerating bytecode in addition to the
error.
  • Loading branch information
ppenzin authored and rhuanjl committed Apr 18, 2024
1 parent 2a574fa commit 2af598f
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tools/regenByteCode.py
Original file line number Diff line number Diff line change
Expand Up @@ -137,6 +137,8 @@ def append_bytecode(header, command, in_path, file_name, error):
job.wait()
if job.returncode != 0:
print(error)
print('Command line: ')
print(*command_with_file)
sys.exit(1)

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

0 comments on commit 2af598f

Please # to comment.