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

Some more verbose/improved error logging for the bootstrap process. #49

Merged
merged 1 commit into from
Jan 14, 2025

Conversation

jdrodjpl
Copy link
Collaborator

No description provided.

processes.BootstrapEnv(&appConfig)
err := processes.BootstrapEnv(&appConfig)
if err != nil {
log.Errorf("Errors were encountered during bootstrap process. Please check the errorlog for more details.")
Copy link
Contributor

Choose a reason for hiding this comment

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

Can the err object be printed out, to see details of the error?

}

log.Infof("Bootstrap Process Completed Succesfully")
return nil
Copy link
Contributor

Choose a reason for hiding this comment

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

Is this return statement necessary? There wasn't a return here previously, and I just wasn't sure if this was a best practice, or it may change some behavior?

Copy link
Contributor

Choose a reason for hiding this comment

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

oh never mind, I see why you are returning now

Copy link
Contributor

@galenatjpl galenatjpl left a comment

Choose a reason for hiding this comment

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

thanks! Looks good to me. I had one minor comment, but that can be considered in a future PR.

@galenatjpl galenatjpl merged commit abd60a8 into main Jan 14, 2025
2 of 3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants