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

Remove double logging in CLI #958

Merged
merged 3 commits into from Nov 14, 2022
Merged

Remove double logging in CLI #958

merged 3 commits into from Nov 14, 2022

Conversation

GuillaumeRx
Copy link
Contributor

@GuillaumeRx GuillaumeRx commented Nov 14, 2022

This fixes the double logging in CLI by removing the logError method and throwing errors in handlers instead. Errors are already logged here.

Fixes: #913

@GuillaumeRx GuillaumeRx requested a review from a team as a code owner November 14, 2022 15:08
@GuillaumeRx GuillaumeRx marked this pull request as draft November 14, 2022 15:08
@GuillaumeRx GuillaumeRx changed the title Clean logError usage in CLI Remove double logging in CLI Nov 14, 2022
@GuillaumeRx GuillaumeRx marked this pull request as ready for review November 14, 2022 17:10
Copy link
Member

@FrederikBolding FrederikBolding left a comment

Choose a reason for hiding this comment

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

Does this remove all the double logging?

@GuillaumeRx GuillaumeRx merged commit cd30f4f into main Nov 14, 2022
@GuillaumeRx GuillaumeRx deleted the gr/clean-cli-errors branch November 14, 2022 18:39
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.

CLI logs error twice
2 participants