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 handling in goroutines #122

Merged
merged 3 commits into from
Oct 30, 2018
Merged

Better error handling in goroutines #122

merged 3 commits into from
Oct 30, 2018

Conversation

joohoi
Copy link
Owner

@joohoi joohoi commented Oct 30, 2018

This PR adds a error handling mechanism to spawned goroutines using channels. This allows printing error messages when spawning DNS server goroutine if it encounters an error.

Fixes: #118

@coveralls
Copy link

Coverage Status

Coverage decreased (-0.07%) to 93.355% when pulling 2d945cc on err_on_dns into a09073d on master.

@joohoi joohoi merged commit c2c5c5c into master Oct 30, 2018
@joohoi joohoi deleted the err_on_dns branch October 31, 2018 13:02
jacobmyers-codeninja pushed a commit to jacobmyers-codeninja/acme-dns that referenced this pull request Sep 30, 2020
* More robust goroutine error handling using channels

* Fix tests and make startup log msg saner

* Clarification to README and config file
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

2 participants