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 to NewError to not log fatal or panic, add tests #394

Merged
merged 3 commits into from
Oct 6, 2023

Conversation

luthermonson
Copy link
Contributor

📝 Description

What does this PR do and why is this change necessary?
closes #393

✔️ How to Test

What are the steps to reproduce the issue or verify the changes?

How do I run the relevant unit/integration tests?

📷 Preview

If applicable, include a screenshot or code snippet of this change. Otherwise, please remove this section.

@luthermonson luthermonson requested a review from a team as a code owner October 5, 2023 10:11
Copy link
Contributor

@lgarber-akamai lgarber-akamai left a comment

Choose a reason for hiding this comment

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

Looks good! Could you remove the redundant fmt.Sprintf to get the linter passing?

@lgarber-akamai lgarber-akamai requested a review from a team October 5, 2023 13:19
@lgarber-akamai lgarber-akamai merged commit f71d70d into linode:main Oct 6, 2023
@lgarber-akamai
Copy link
Contributor

@luthermonson Thanks for the contribution!

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.

[Feature]: Don't panic/fatal in NewError
3 participants