diff --git a/sdk/eventhub/azure-eventhubs/azure/eventhub/aio/eventprocessor/event_processor.py b/sdk/eventhub/azure-eventhubs/azure/eventhub/aio/eventprocessor/event_processor.py index 37f9a20d67c5..77f534e9f362 100644 --- a/sdk/eventhub/azure-eventhubs/azure/eventhub/aio/eventprocessor/event_processor.py +++ b/sdk/eventhub/azure-eventhubs/azure/eventhub/aio/eventprocessor/event_processor.py @@ -138,7 +138,7 @@ async def start(self): while self._running: try: claimed_ownership_list = await ownership_manager.claim_ownership() - except Exception as err: + except Exception as err: # pylint:disable=broad-except log.warning("An exception (%r) occurred during balancing and claiming ownership for eventhub %r " "consumer group %r. Retrying after %r seconds", err, self._eventhub_name, self._consumer_group_name, self._polling_interval)