tools/makemanifest.py: Fix printing of mpy_cross.CrossCompileError.

This change was missed by 5852fd7708

Signed-off-by: Damien George <damien@micropython.org>
This commit is contained in:
Damien George 2022-11-02 14:06:18 +11:00
parent 46bb52adf6
commit b52fe52d31

View File

@ -204,7 +204,7 @@ def main():
extra_args=args.mpy_cross_flags.split(), extra_args=args.mpy_cross_flags.split(),
) )
except mpy_cross.CrossCompileError as ex: except mpy_cross.CrossCompileError as ex:
print("error compiling {}:".format(target_path)) print("error compiling {}:".format(result.target_path))
print(ex.args[0]) print(ex.args[0])
raise SystemExit(1) raise SystemExit(1)
ts_outfile = get_timestamp(outfile) ts_outfile = get_timestamp(outfile)