Skip to content

Commit

Permalink
e2e/setup: write run error on failure
Browse files Browse the repository at this point in the history
  • Loading branch information
mmatczuk committed Apr 23, 2024
1 parent 725b2ef commit fab8027
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion e2e/setup/runner.go
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ func (r *Runner) runSetup(s *Setup) (runErr error) {

w := os.Stderr

fmt.Fprintf(w, "=== setup %s FAIL (%s)\n", s.Name, time.Since(start).Round(time.Millisecond))
fmt.Fprintf(w, "=== setup %s FAIL (%s)\n%s\n", s.Name, time.Since(start).Round(time.Millisecond), runErr)

if b, err := os.ReadFile(cmd.File()); err != nil {
fmt.Fprintf(w, "failed to read compose file: %v\n", err)
Expand Down

0 comments on commit fab8027

Please sign in to comment.