Skip to content

Commit

Permalink
Go app run error output missing (#429)
Browse files Browse the repository at this point in the history
  • Loading branch information
janelletavares authored Aug 31, 2022
1 parent 9023539 commit 04549da
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions cmd/meroxa/turbine/golang/run.go
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,7 @@ func (t *turbineGoCLI) Run(ctx context.Context) error {
return err
}

cmd := exec.Command("./" + appName) //nolint:gosec
cmd.Path = t.appPath
cmd := exec.Command(t.appPath + "/" + appName) //nolint:gosec
output, err := cmd.CombinedOutput()
if err != nil {
t.logger.Error(ctx, string(output))
Expand Down

0 comments on commit 04549da

Please sign in to comment.