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:
@@ -48,8 +48,8 @@ def _wrap_transport(transport: Transport) -> Transport:
|
||||
return SnoopingTransport.create_with(
|
||||
transport, create_snooper(snooper_spec)
|
||||
)
|
||||
except Exception as exc:
|
||||
logger.warning(f'Exception while creating snooper: {exc}')
|
||||
except Exception:
|
||||
logger.exception('Exception while creating snooper')
|
||||
|
||||
return transport
|
||||
|
||||
|
||||
Reference in New Issue
Block a user