Skip to content

Commit 6a5929a

Browse files
Copilotl0lawrence
andcommitted
Fix pylint C4766 and C4762 issues in BlobCheckpointStore
Co-authored-by: l0lawrence <100643745+l0lawrence@users.noreply.github.com>
1 parent 0a61b45 commit 6a5929a

File tree

1 file changed

+2
-2
lines changed
  • sdk/eventhub/azure-eventhub-checkpointstoreblob/azure/eventhub/extensions/checkpointstoreblob

1 file changed

+2
-2
lines changed

sdk/eventhub/azure-eventhub-checkpointstoreblob/azure/eventhub/extensions/checkpointstoreblob/_blobstoragecs.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -196,7 +196,7 @@ def _claim_one_partition(self, ownership, **kwargs):
196196
)
197197
raise OwnershipLostError() from exc
198198
except Exception as error: # pylint:disable=broad-except
199-
logger.warning(
199+
logger.debug(
200200
"An exception occurred when EventProcessor instance %r claim_ownership for "
201201
"namespace %r eventhub %r consumer group %r partition %r. "
202202
"The ownership is now lost. Exception "
@@ -253,7 +253,7 @@ def list_ownership(
253253
result.append(ownership)
254254
return result
255255
except Exception as error:
256-
logger.warning(
256+
logger.debug(
257257
"An exception occurred during list_ownership for "
258258
"namespace %r eventhub %r consumer group %r. "
259259
"Exception is %r",

0 commit comments

Comments
 (0)