Ver Fonte

Output failing ch command line in regenByteCode.py

Report failing command when regenerating bytecode in addition to the
error.
Petr Penzin há 1 ano atrás
pai
commit
2af598f04a
1 ficheiros alterados com 2 adições e 0 exclusões
  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