Skip to content

Commit

Permalink
surface last connection error from buildkitd client (#1447)
Browse files Browse the repository at this point in the history
Signed-off-by: Andrew Sy Kim <andrew@earthly.dev>
  • Loading branch information
andrewsykim committed Nov 26, 2021
1 parent 0c6820e commit 2888c9c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion buildkitd/buildkitd.go
Original file line number Diff line number Diff line change
Expand Up @@ -550,7 +550,7 @@ func waitForConnection(ctx context.Context, containerName, address string, opTim
err := checkConnection(ctx, address, opts...)
if err != nil {
// We give up.
return errors.Wrapf(ErrBuildkitStartFailure, "timeout %s: buildkitd did not make connection available after start", opTimeout)
return errors.Wrapf(ErrBuildkitStartFailure, "timeout %s: buildkitd did not make connection available after start with error: %s", opTimeout, err.Error())
}
return nil
}
Expand Down

0 comments on commit 2888c9c

Please sign in to comment.