diff options
author | James Fargher <jfargher@gitlab.com> | 2022-03-21 06:29:33 +0300 |
---|---|---|
committer | James Fargher <jfargher@gitlab.com> | 2022-03-31 01:27:17 +0300 |
commit | 164e7259d7febd5f1a58b1b537739aa26e9be3f2 (patch) | |
tree | cfe50d2010061b628348034f93310cc1663f43b5 /internal/git2go/executor.go | |
parent | 0b2f6dfc5b1e6d29e805180c0ebd592f62661df3 (diff) |
gitaly-git2go: Stop capturing errors from stderr
Soon we will use stderr to output logging. We should not try to
interpret these logs as an error message.
Diffstat (limited to 'internal/git2go/executor.go')
-rw-r--r-- | internal/git2go/executor.go | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/internal/git2go/executor.go b/internal/git2go/executor.go index 35b62b682..681024d28 100644 --- a/internal/git2go/executor.go +++ b/internal/git2go/executor.go @@ -59,9 +59,6 @@ func (b *Executor) run(ctx context.Context, repo repository.GitRepo, stdin io.Re } if err := cmd.Wait(); err != nil { - if _, ok := err.(*exec.ExitError); ok { - return nil, fmt.Errorf("%s", stderr.String()) - } return nil, err } |