Skip to content
New issue

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

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

Already on GitHub? # to your account

fix: stop some log.Warn spam due parsing an empty string as a CPE #3330

Merged
merged 2 commits into from
Oct 15, 2024

Conversation

willmurphyscode
Copy link
Contributor

Description

#2762 fixed a small bug where creating a CPE would sometimes return a nil error even though it failed. However, this resulted in some needlessly noisy logs. Clean up some of this logging.

Type of change

  • Bug fix (non-breaking change which fixes an issue)

Checklist:

  • I have added unit tests that cover changed behavior - no behavior change
  • I have tested my code in common scenarios and confirmed there are no regressions
  • I have added comments to my code, particularly in hard-to-understand sections

Signed-off-by: Will Murphy <willmurphyscode@users.noreply.github.com>
Signed-off-by: Will Murphy <willmurphyscode@users.noreply.github.com>
@willmurphyscode willmurphyscode added the bug Something isn't working label Oct 14, 2024
@willmurphyscode willmurphyscode merged commit 754cebe into main Oct 15, 2024
12 checks passed
@willmurphyscode willmurphyscode deleted the chore-dont-log-empty-cpe-error branch October 15, 2024 12:50
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants