Skip to content

Commit

Permalink
Merge pull request #1595 from samson0v/issues/iotgw-376
Browse files Browse the repository at this point in the history
Fixed records handling
  • Loading branch information
samson0v authored Nov 12, 2024
2 parents 8647fc5 + e5f27fc commit 39255aa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion thingsboard_gateway/tb_utility/tb_handler.py
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ def activate(self, log_level=None):
def handle(self, record):
if self.activated and not self.__gateway.stopped:
logger = self.loggers.get(record.name)
if logger:
if logger and hasattr(logger, 'connector_name'):
name = logger.connector_name

if name:
Expand Down

0 comments on commit 39255aa

Please sign in to comment.