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

Catch exception when reading from in-memory connection being removed … #1014

Conversation

rvykydal
Copy link
Contributor

@rvykydal rvykydal commented Apr 6, 2017

…(#1439051)

This can happen when a connection is removed by NM between we obtain connection
objects and try to read settings from them.

@rvykydal rvykydal added the f26 label Apr 6, 2017
Copy link
Contributor

@M4rtinK M4rtinK left a comment

Choose a reason for hiding this comment

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

Just a note about adding an in-code, all in all looks good! :)

pyanaconda/nm.py Outdated
settings = proxy.GetSettings()
except Exception as e:
log.debug("nm_get_all_settings: %s", e)
continue
Copy link
Contributor

Choose a reason for hiding this comment

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

I think it would good to add a note why we are doing this - basically the content of the commit message. :)

…(#1439051)

This can happen when a connection is removed by NM between we obtain connection
objects and try to read settings from them.
@rvykydal rvykydal force-pushed the f26-devel-make-reading-connections-more-robust branch from f991dad to 865c0cd Compare April 11, 2017 12:40
@rvykydal rvykydal merged commit 9e77c27 into rhinstaller:f26-devel Apr 11, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
2 participants