Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add Error Callback for subscriptions (#19693)
This is useful when subscriptions are not renewed automatically to get the actual error from the stack. Without this change, if auto-renew is disabled, the following exception is thrown: ERROR Exception in callback AsyncReadTransaction._handleError(50) handle: <Handle AsyncReadTransaction._handleError(50)> Traceback (most recent call last): File "/usr/lib/python3.9/asyncio/events.py", line 80, in _run self._context.run(self._callback, *self._args) File "/home/sag/projects/project-chip/connectedhomeip/out/python_env/lib/python3.9/site-packages/chip/clusters/Attribute.py", line 661, in _handleError self._future.set_exception( asyncio.exceptions.InvalidStateError: invalid state
- Loading branch information