From acb90b5e84f027dd5a5275e142ff446c04650c26 Mon Sep 17 00:00:00 2001 From: Dirk Alders Date: Mon, 19 Dec 2022 17:03:25 +0100 Subject: [PATCH] Unparsed conten logging message improved --- devices/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/devices/__init__.py b/devices/__init__.py index 9660bc4..64fbd54 100644 --- a/devices/__init__.py +++ b/devices/__init__.py @@ -100,7 +100,7 @@ class base(dict): "Received data for (%s) %s - %s", self.topic, key, str(self.get(key))) self.callback_caller(key, self[key]) 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: logger.debug("Ignoring key %s", key)