Skip to content

Commit

Permalink
iiiiiiiiii
Browse files Browse the repository at this point in the history
  • Loading branch information
aarlt committed Mar 13, 2024
1 parent 453e544 commit 71d41ad
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion scripts/bytecodecompare/prepare_report.py
Original file line number Diff line number Diff line change
Expand Up @@ -404,11 +404,13 @@ def generate_report(

report_file.write(report.format_report())
except subprocess.CalledProcessError as exception:
source = open(source_file_name, "r").read()
print(
f"\n\nInterrupted by an exception while processing file "
f"'{source_file_name}' with preset={preset}\n\n"
f"COMPILER STDOUT:\n{exception.stdout}\n"
f"COMPILER STDERR:\n{exception.stderr}\n",
f"COMPILER STDERR:\n{exception.stderr}\n"
f"SOURCE:\n{source}\n",
file=sys.stderr
)
raise
Expand Down

0 comments on commit 71d41ad

Please sign in to comment.