Add automatic cleanup of running jobs when the process encounters a fatal error (uncaught exceptions and unhandled rejections). The cleanup consists of marking the job as finished and adding a terminatedBy field to the job history collection to indicate how the job was terminated.
2.2.1 (2024-11-19)
terminatedBy
field to the job history collection to indicate how the job was terminated.