diff --git a/common/step_http_server.go b/common/step_http_server.go index e8cd1c6ca..b4eb7b00e 100644 --- a/common/step_http_server.go +++ b/common/step_http_server.go @@ -48,6 +48,9 @@ func (s *StepHTTPServer) Run(ctx context.Context, state multistep.StateBag) mult }.Listen(ctx) if err != nil { + err := fmt.Errorf("Error finding port: %s", err) + state.Put("error", err) + ui.Error(err.Error()) return multistep.ActionHalt }