Verified Commit 65113798 authored by Sebastian Endres's avatar Sebastian Endres
Browse files

Better handling of ParsingErrors in plot result

parent 733689b9
......@@ -257,9 +257,13 @@ class PlotAllCli:
cprint(f"⨯ {err}", file=sys.stderr, color="red")
with err_output_file.open("w") as file:
print(err, file=file)
print(
f"{err.trace.input_file.relative_to(self._current_log_dir)}:",
err.msg,
file=file,
)
rets.append(str(err))
rets.append(err.msg)
continue
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment