From 2af598f04ab508f9231d6e26f0f82f5a57561413 Mon Sep 17 00:00:00 2001 From: Petr Penzin Date: Thu, 18 Apr 2024 02:16:43 -0700 Subject: [PATCH] Output failing ch command line in regenByteCode.py Report failing command when regenerating bytecode in addition to the error. --- tools/regenByteCode.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tools/regenByteCode.py b/tools/regenByteCode.py index dac80030bb8..1b083aa18a2 100755 --- a/tools/regenByteCode.py +++ b/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