瀏覽代碼

Output failing ch command line in regenByteCode.py

Report failing command when regenerating bytecode in addition to the
error.
Petr Penzin 1 年之前
父節點
當前提交
2af598f04a
共有 1 個文件被更改,包括 2 次插入0 次删除
  1. 2 0
      tools/regenByteCode.py

+ 2 - 0
tools/regenByteCode.py

@@ -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