mirror of
https://github.com/google/bumble.git
synced 2026-05-08 03:58:01 +00:00
Always log exception using logging.exception
This commit is contained in:
@@ -292,9 +292,9 @@ async def open_usb_transport(spec: str) -> Transport:
|
||||
if self.sink:
|
||||
try:
|
||||
self.sink.on_packet(packet)
|
||||
except Exception as error:
|
||||
except Exception:
|
||||
logger.exception(
|
||||
color(f'!!! Exception in sink.on_packet: {error}', 'red')
|
||||
color('!!! Exception in sink.on_packet', 'red')
|
||||
)
|
||||
|
||||
def close(self):
|
||||
|
||||
Reference in New Issue
Block a user