You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
What should happen in case of an exception in the Bluetooth communication:
All exceptions from the different backends are wrapped in BluetoothBackendException.
Current situation:
Each Bluetooth backend raises different types of exceptions, depending on the backend.
This needs to fixed and tested properly
The text was updated successfully, but these errors were encountered:
ChristianKuehnel
Fixesbasnijholt#84
This is a major refactoring of the exception handling in the Bluetooth backends. All errors are now wrapped in BluetootheBackendExceptions, this abstracts from the different exceptions of the different backends.
It also fixes a locking issues when an exception was raised during the connect operation.
After investigating home-assistant/core#9048 (comment) I noticed, that the exception handling is broken.
What should happen in case of an exception in the Bluetooth communication:
All exceptions from the different backends are wrapped in BluetoothBackendException.
Current situation:
Each Bluetooth backend raises different types of exceptions, depending on the backend.
This needs to fixed and tested properly
The text was updated successfully, but these errors were encountered: