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

log error when cert_path is missing #1420

Merged
merged 6 commits into from
Aug 26, 2020
Merged

Conversation

teadur
Copy link
Contributor

@teadur teadur commented Nov 12, 2019

Un configured cert_path in epp deployment will lead to registrar portal failing to connect to epp/repp with hard to debug error "no implicit conversion of nil into String" what refers to https://github.com/internetee/registry/compare/log-error-when-cert-path-is-missing?expand=1#diff-4e75b419751f5949efd2f5b537a19d4bR19

There are so many bad practices around the whole cert handling here i'm not even trying to fix them in this pr, rather provide meaningful error message to sysadmins to aid in debugging, this is only temporary/half solution and all exceptions here should be handled gracefully in future.

Ignore the commit name will be squash-merged

@teadur teadur requested a review from artur-intech November 12, 2019 21:50
@vohmar vohmar merged commit a730e3a into master Aug 26, 2020
@vohmar vohmar deleted the log-error-when-cert-path-is-missing branch September 2, 2020 08:10
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.

4 participants