mirror of
https://github.com/google/bumble.git
synced 2026-05-08 03:58:01 +00:00
Raise an exception when an L2cap connection fails
This commit is contained in:
@@ -2078,7 +2078,8 @@ class ChannelManager:
|
|||||||
# Connect
|
# Connect
|
||||||
try:
|
try:
|
||||||
await channel.connect()
|
await channel.connect()
|
||||||
except Exception:
|
except Exception as e:
|
||||||
del connection_channels[source_cid]
|
del connection_channels[source_cid]
|
||||||
|
raise e
|
||||||
|
|
||||||
return channel
|
return channel
|
||||||
|
|||||||
Reference in New Issue
Block a user