Skip to content

Commit

Permalink
Merge pull request #79 from massooti/fix-exception
Browse files Browse the repository at this point in the history
  • Loading branch information
alm0ra authored May 11, 2024
2 parents a52c5b6 + c601d50 commit 38bfd51
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions mockafka/cluster_metadata.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import logging
from mockafka.broker_metadata import BrokerMetadata
from mockafka.kafka_store import KafkaStore
from mockafka.topic_metadata import TopicMetadata
Expand Down Expand Up @@ -44,4 +45,5 @@ def __getitem__(self, key):
try:
return super().__getitem__(key)
except KeyError:
logging.warning(f"Key '{key}' not found in CustomDict")
return

0 comments on commit 38bfd51

Please sign in to comment.