Unparsed conten logging message improved

This commit is contained in:
Dirk Alders 2022-12-19 17:03:25 +01:00
parent 1080d97d08
commit acb90b5e84

View File

@ -100,7 +100,7 @@ class base(dict):
"Received data for (%s) %s - %s", self.topic, key, str(self.get(key))) "Received data for (%s) %s - %s", self.topic, key, str(self.get(key)))
self.callback_caller(key, self[key]) self.callback_caller(key, self[key])
elif key not in self.RX_IGNORE_KEYS: elif key not in self.RX_IGNORE_KEYS:
logger.warning('Got a message with unparsed content "%s"', key) logger.warning('Got a message from \"%s\"with unparsed content "%s"', self.topic, key)
else: else:
logger.debug("Ignoring key %s", key) logger.debug("Ignoring key %s", key)