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

Eliminate panics #459

Merged
merged 21 commits into from
Jun 18, 2024
Merged

Eliminate panics #459

merged 21 commits into from
Jun 18, 2024

Conversation

komuw
Copy link
Owner

@komuw komuw commented Jun 18, 2024

  • Now, it is only(ideally) the config package that panics at startup if one or more options is misconfigured.
    The idea is that ong should return those errors upward rather than panic. If it has to panic, it should ideally do so only at one place; configuration.
  • There are still some panics in config/cert.go. But those are only used when someone is using the config.DevOpts. We could remove them by using something like get certs from different locations #277, issues/277: get certs from different locations #282

@komuw komuw changed the title Eliminate panics from middleware Eliminate panics Jun 18, 2024
@komuw komuw merged commit 847e9b2 into main Jun 18, 2024
4 checks passed
@komuw komuw deleted the handler-err branch June 18, 2024 08:59
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

1 participant