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

refactor: generate should not panic #1938

Merged
merged 1 commit into from
Apr 14, 2023
Merged

refactor: generate should not panic #1938

merged 1 commit into from
Apr 14, 2023

Conversation

cgrinds
Copy link
Collaborator

@cgrinds cgrinds commented Apr 14, 2023

No description provided.

@@ -150,19 +150,19 @@ func generateDocker(path string, kind int) {
}
err := conf.LoadHarvestConfig(path)
if err != nil {
panic(err)
return
Copy link
Contributor

Choose a reason for hiding this comment

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

We want to still print the error here?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

no, printed earlier

@rahulguptajss rahulguptajss merged commit 2ffdc78 into main Apr 14, 2023
@rahulguptajss rahulguptajss deleted the cbg-generate branch April 14, 2023 15:17
Hardikl pushed a commit that referenced this pull request Apr 17, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants