Skip to content

stdout not updated when error occurs in onOperationEnd during pipeline execution #1973

@brollb

Description

@brollb

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)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions