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

Better error messages for missing DB config values #101

Merged
merged 2 commits into from
Aug 12, 2018
Merged

Better error messages for missing DB config values #101

merged 2 commits into from
Aug 12, 2018

Conversation

joohoi
Copy link
Owner

@joohoi joohoi commented Aug 12, 2018

Prior to this PR, if database configuration values are missing, acme-dns errors with confusing error messages from database/sql like:

ERRO[0000] Could not open database [sql: unknown driver "" (forgotten import?)]

@coveralls
Copy link

coveralls commented Aug 12, 2018

Coverage Status

Coverage increased (+0.1%) to 93.398% when pulling 1f24a5f on err-msgs into 856cc05 on master.

@joohoi joohoi merged commit ec013c0 into master Aug 12, 2018
@joohoi joohoi mentioned this pull request Aug 12, 2018
@joohoi joohoi deleted the err-msgs branch August 12, 2018 17:46
jacobmyers-codeninja pushed a commit to jacobmyers-codeninja/acme-dns that referenced this pull request Sep 30, 2020
* Better error messages for missing DB config values

* Make linter happy
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