Skip to content

Improve error output #102

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

Merged
merged 3 commits into from
Dec 14, 2020
Merged

Improve error output #102

merged 3 commits into from
Dec 14, 2020

Conversation

per1234
Copy link
Contributor

@per1234 per1234 commented Dec 12, 2020

No description provided.

By default, logging is disabled, but this was previously done in configuration.Initialize(), meaning that any log output
above the default level made before that part of the configuration ran was still displayed.
Previously, it was not always clear that the error messages were such. Adding a prefix to the feedback.Error*() output
ensures this will be clear and that the error messages will follow a consistent format.
This is an unexpected error with no clear cause, so the panic is more appropriate.
@per1234 per1234 force-pushed the per1234/improve-output2 branch from cc5e4fb to ab81928 Compare December 14, 2020 13:55
@per1234 per1234 merged commit dab9db8 into main Dec 14, 2020
@per1234 per1234 deleted the per1234/improve-output2 branch December 14, 2020 14:17
@per1234 per1234 added topic: code Related to content of the project itself type: enhancement Proposed improvement labels Sep 29, 2021
@per1234 per1234 self-assigned this Nov 20, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
topic: code Related to content of the project itself type: enhancement Proposed improvement
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants