Skip to content

Commit

Permalink
Merge pull request #76 from mittwald/fix/error-handling
Browse files Browse the repository at this point in the history
fix error handling
  • Loading branch information
Lucaber authored Mar 13, 2024
2 parents db0cf9a + 7e2bcf2 commit 0cf509c
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions pkg/proc/types.go
Original file line number Diff line number Diff line change
Expand Up @@ -122,11 +122,7 @@ func newBaseJob(jobConfig *config.BaseJobConfig) (*baseJob, error) {
return job, nil
}

if err := job.CreateAndOpenStdFile(jobConfig); err != nil {
return job, nil
}

return job, nil
return job, job.CreateAndOpenStdFile(jobConfig)
}

func (job *baseJob) CreateAndOpenStdFile(jobConfig *config.BaseJobConfig) error {
Expand Down

0 comments on commit 0cf509c

Please sign in to comment.