Skip to content

Commit 817bf99

Browse files
authored
Improve reporting of crash report location
Use raw string path for reporting the crash report location instead of `PosixPath(...)` as in: `ValueError: Task core raised an error, full crash report is here: [PosixPath('')]`
1 parent ac06f8c commit 817bf99

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pydra/engine/core.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1191,7 +1191,7 @@ def _collect_outputs(self):
11911191
err_file = getattr(self, val.name).output_dir / "_error.pklz"
11921192
raise ValueError(
11931193
f"Task {val.name} raised an error, full crash report is here: "
1194-
f"{err_file}"
1194+
f"{str(err_file)}"
11951195
)
11961196
return attr.evolve(output, **output_wf)
11971197

0 commit comments

Comments
 (0)