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

Handle exceptions thrown by makeResolvSeed #1961

Merged
merged 1 commit into from
Apr 20, 2020
Merged

Conversation

karknu
Copy link
Contributor

@karknu karknu commented Apr 16, 2020

makeResolvSeed will fail if /etc/resolv.conf is missing.
This can cause DNS subscription to stop working for OSes where
that file is generated automatically, for example OSX, during temporary
network outages.

@karknu
Copy link
Contributor Author

karknu commented Apr 16, 2020

Fixes #1960 .

@karknu karknu requested review from coot and dcoutts April 16, 2020 10:18
@karknu karknu marked this pull request as ready for review April 16, 2020 10:35
iohk-bors bot added a commit that referenced this pull request Apr 17, 2020
1969: Added `catches` to MonadCatch r=dcoutts a=coot

Related to #1961


Co-authored-by: Marcin Szamotulski <[email protected]>
makeResolvSeed will fail if /etc/resolv.conf is missing.
This can cause DNS subscription to stop working for OSes where
that file is generated automatically, for example OSX, during temporary
network outages.
Copy link
Contributor

@coot coot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@karknu
Copy link
Contributor Author

karknu commented Apr 20, 2020

bors r+

@iohk-bors
Copy link
Contributor

iohk-bors bot commented Apr 20, 2020

@iohk-bors iohk-bors bot merged commit 37f1816 into master Apr 20, 2020
@iohk-bors iohk-bors bot deleted the karknu/dns_err branch April 20, 2020 13:32
coot added a commit that referenced this pull request May 16, 2022
1969: Added `catches` to MonadCatch r=dcoutts a=coot

Related to #1961


Co-authored-by: Marcin Szamotulski <[email protected]>
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.

3 participants