diff options
author | Valery Piashchynski <[email protected]> | 2020-11-18 12:55:28 +0300 |
---|---|---|
committer | Valery Piashchynski <[email protected]> | 2020-11-18 12:55:28 +0300 |
commit | 49a7c06b4ed3605130c3d09e73b28822aa205465 (patch) | |
tree | dd66f4f2c4a752c796d3a19d20203f7914d65bb1 /pipe_factory.go | |
parent | 2b395a5f1bd431a2a9c80c35a2ca5f42066c9ffd (diff) |
Remove old errors
Diffstat (limited to 'pipe_factory.go')
-rwxr-xr-x | pipe_factory.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pipe_factory.go b/pipe_factory.go index 76a3780e..e59055b4 100755 --- a/pipe_factory.go +++ b/pipe_factory.go @@ -70,7 +70,7 @@ func (f *PipeFactory) SpawnWorkerWithContext(ctx context.Context, cmd *exec.Cmd) if err != nil { c <- SpawnResult{ w: nil, - err: errors.E(op, err, "process error"), + err: errors.E(op, err), } return } @@ -137,7 +137,7 @@ func (f *PipeFactory) SpawnWorker(cmd *exec.Cmd) (WorkerBase, error) { // Start the worker err = w.Start() if err != nil { - return nil, errors.E(op, err, "process error") + return nil, errors.E(op, err) } // errors bundle |