Răsfoiți Sursa

Output failing ch command line in regenByteCode.py

Report failing command when regenerating bytecode in addition to the
error.
Petr Penzin 1 an în urmă
părinte
comite
2af598f04a
1 a modificat fișierele cu 2 adăugiri și 0 ștergeri
  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