2
0
Эх сурвалжийг харах

Output failing ch command line in regenByteCode.py

Report failing command when regenerating bytecode in addition to the
error.
Petr Penzin 1 жил өмнө
parent
commit
2af598f04a

+ 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