diff --git a/bumble/bridge.py b/bumble/bridge.py index 168f7734..5e42df7d 100644 --- a/bumble/bridge.py +++ b/bumble/bridge.py @@ -55,7 +55,10 @@ class HCI_Bridge: return # Analyze the packet - self.trace(hci_packet) + try: + self.trace(hci_packet) + except Exception: + logger.exception('Exception while tracing packet') # Bridge the packet self.hci_sink.on_packet(packet)