Skip to content

Commit 8f5f251

Browse files
committed
save error on KeyboardInterrupt
1 parent 59bd130 commit 8f5f251

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pydra/engine/job.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -332,7 +332,7 @@ def run(self, rerun: bool = False):
332332
self.audit.monitor()
333333
self.task._run(self, rerun)
334334
result.outputs = self.task.Outputs._from_job(self)
335-
except Exception:
335+
except BaseException:
336336
etype, eval, etr = sys.exc_info()
337337
traceback = format_exception(etype, eval, etr)
338338
record_error(self.cache_dir, error=traceback)

0 commit comments

Comments
 (0)