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 panic on top-level log #125

Merged
merged 2 commits into from
Aug 6, 2020
Merged

fix panic on top-level log #125

merged 2 commits into from
Aug 6, 2020

Conversation

wagoodman
Copy link
Contributor

Currently if you supply a bad CLI switch there is a panic since the logger is not setup yet. This PR makes this case an exception and prints to stderr instead.

@alfredodeza alfredodeza changed the base branch from master to main August 6, 2020 12:09
@wagoodman wagoodman merged commit dc8dfc8 into main Aug 6, 2020
@wagoodman wagoodman deleted the fix-segv-on-log branch August 6, 2020 12:29
GijsCalis pushed a commit to GijsCalis/syft that referenced this pull request Feb 19, 2024
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants