Skip to content

Commit

Permalink
Added device information to error messages.
Browse files Browse the repository at this point in the history
  • Loading branch information
davidraker committed May 10, 2024
1 parent b6d29ad commit fcfe127
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit fcfe127

Please sign in to comment.