deepforge-dev/deepforge

stdout not updated when error occurs in onOperationEnd during pipeline execution

Closed this issue · 0 comments

When an error occurs (such as the one shown below caused by this), the jobs can finish without showing any logs.

UnhandledPromiseRejectionWarning: TypeError: Cannot destructure property 'type' of 'results[name]' as it is undefined.
    at ExecutePipeline.ExecuteJob.recordOperationOutputs (/home/brian/projektek/deepforge/src/plugins/ExecuteJob/ExecuteJob.js:704:20)
    at processTicksAndRejections (internal/process/task_queues.js:97:5)
    at async ExecutePipeline.ExecuteJob.onOperationEnd (/home/brian/projektek/deepforge/src/plugins/ExecuteJob/ExecuteJob.js:677:17)
    at async LocalExecutor.<anonymous> (/home/brian/projektek/deepforge/src/plugins/ExecuteJob/ExecuteJob.js:203:21)
    at async Promise.all (index 0)