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

make error handling inside Collect cycles more consistent #33

Merged
merged 2 commits into from
Apr 6, 2020

Conversation

stefanotorresi
Copy link
Collaborator

This PR makes warn-level error reporting inside Collect cycles more consistent by wrapping and returning errors where possible instead of logging them directly inside nested methods.

The log lines now all follow the same convention of reporting which collector triggered the warning.

Copy link
Contributor

@MalloZup MalloZup left a comment

Choose a reason for hiding this comment

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

🍞 🌾 🍞

@stefanotorresi stefanotorresi merged commit ad72196 into SUSE:master Apr 6, 2020
@stefanotorresi stefanotorresi deleted the collector-error-handling branch April 6, 2020 13:52
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.

None yet

2 participants