Skip to content
This repository has been archived by the owner on Apr 12, 2021. It is now read-only.

Improve error handling when getting controller info #953

Merged
merged 1 commit into from Jun 19, 2017

Conversation

johnsca
Copy link
Contributor

@johnsca johnsca commented Jun 19, 2017

Certain failures to get controller info were returning None for the info instead of raising an exception. This should raise the exception more consistently and provide better diagnostic information.

Fixes #946

Certain failures to get controller info were returning None for the info
instead of raising an exception.  This should raise the exception more
consistently and provide better diagnostic information.

Fixes #946
@johnsca
Copy link
Contributor Author

johnsca commented Jun 19, 2017

A point to note, I was able to reproduce this by stopping the controller container in lxd, which caused the UI to hang and when I hit Ctrl-C it continued with both sh_out and sh_err empty. I'm not sure why it didn't surface a KeyboardInterrupt error, or how to better handle or surface that, but this will at least give us a better error report.

@adam-stokes adam-stokes self-requested a review June 19, 2017 17:35
@adam-stokes adam-stokes merged commit 5dd25f6 into master Jun 19, 2017
@adam-stokes adam-stokes deleted the bug/946-nonetype-subscript branch June 19, 2017 17:37
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants