Skip to content

Fix how we panic and exit on logging issues#6

Merged
cw-sakamoto merged 1 commit intomainfrom
fix-logger-panic
Nov 24, 2023
Merged

Fix how we panic and exit on logging issues#6
cw-sakamoto merged 1 commit intomainfrom
fix-logger-panic

Conversation

@mumoshu
Copy link
Copy Markdown
Collaborator

@mumoshu mumoshu commented Nov 24, 2023

Replaced and moved logr.Fatal and panic to main.go so that it won't prematurely terminate tests, and we can see more useful error messages when tests fail due to logging issues.

@mumoshu mumoshu changed the title Fix panicking on logger init Fix how we panic and exit on logging issues Nov 24, 2023
@cw-sakamoto
Copy link
Copy Markdown
Contributor

@mumoshu Thank you for your contribution🎉

@cw-sakamoto cw-sakamoto merged commit e65098b into main Nov 24, 2023
@cw-sakamoto cw-sakamoto deleted the fix-logger-panic branch November 24, 2023 06:32
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.

2 participants