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

[python] Raise exceptions when the controller failed to send commands #7485

Merged

Conversation

erjiaqing
Copy link
Contributor

Problem

The controller will hang due to desired response never comes when it failed to send a command.

Change overview

Raise an exception in this case

Testing

  • This PR is for error handling, however, failed to send command is a rare case and hard to construct using python apis.
  • @cjandhyala please verify if this PR can resolve the handing issue.

@andy31415 andy31415 merged commit 2dfa1de into project-chip:master Jun 9, 2021
nikita-s-wrk pushed a commit to nikita-s-wrk/connectedhomeip that referenced this pull request Sep 23, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants