From fcfe127ea99f15c1655772eab390499db6e1a797 Mon Sep 17 00:00:00 2001 From: "David M. Raker" Date: Fri, 10 May 2024 12:59:00 -0700 Subject: [PATCH] Added device information to error messages. --- .../PlatformDriverAgent/platform_driver/interfaces/bacnet.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/services/core/PlatformDriverAgent/platform_driver/interfaces/bacnet.py b/services/core/PlatformDriverAgent/platform_driver/interfaces/bacnet.py index d7f7c606e1..d591bc8b45 100644 --- a/services/core/PlatformDriverAgent/platform_driver/interfaces/bacnet.py +++ b/services/core/PlatformDriverAgent/platform_driver/interfaces/bacnet.py @@ -99,7 +99,7 @@ def ping_target(self): except errors.Unreachable: _log.warning("Unable to reach BACnet proxy.") except (Exception, gevent.Timeout) as e: - _log.warning(f"Error trying to ping device: {e}") + _log.warning(f"Error trying to ping device with device_id '{self.device_id}' at {self.target_address}: {e}") self.scheduled_ping = None