Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Don't hard shutdown if mev-boost / relay is not available #11380

Merged
merged 3 commits into from
Aug 31, 2022

Conversation

terencechain
Copy link
Member

@terencechain terencechain commented Aug 31, 2022

Fixes #11379

@terencechain terencechain requested a review from a team as a code owner August 31, 2022 22:23
@terencechain terencechain self-assigned this Aug 31, 2022
@terencechain terencechain added Ready For Review Builder PR or issue that supports builder related work labels Aug 31, 2022
@@ -66,7 +65,7 @@ func NewService(ctx context.Context, opts ...Option) (*Service, error) {

// Is the builder up?
if err := s.c.Status(ctx); err != nil {
return nil, fmt.Errorf("could not connect to builder: %v", err)
log.WithError(err).Error("Failed to check builder status")
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

the next line says "builder has been configured" maybe we should put this in an else statement or return early here.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

+1, thats my only feedback as well

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Builder PR or issue that supports builder related work
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Uncontactable builder results in process exit
3 participants