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

Better printing during inabox failure mode #1101

Merged
merged 1 commit into from
Jan 14, 2025

Conversation

cody-littley
Copy link
Contributor

Why are these changes needed?

Improve behavior if inabox fails due to wget not being installed.

if err != nil {
log.Panicf("Failed to stop binaries. Err: %s", err)
}
}

func (env *Config) StartAnvil() {
changeDirectory(filepath.Join(env.rootPath, "inabox"))
err := execCmd("./bin.sh", []string{"start-anvil"}, []string{})
err := execCmd("./bin.sh", []string{"start-anvil"}, []string{}, false) // printing output causes hang
Copy link
Contributor

Choose a reason for hiding this comment

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

because too many prints?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I am unsure what the root cause is. It may be something like that.

@cody-littley cody-littley merged commit 0872d51 into Layr-Labs:master Jan 14, 2025
7 checks passed
@cody-littley cody-littley deleted the inabox-failure-printing branch January 14, 2025 14:17
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