Added missing error log

This commit is contained in:
Mark Qvist 2023-10-25 02:58:36 +02:00
parent 9fe7632e8f
commit feddcfc639

View File

@ -770,7 +770,7 @@ class SidebandCore():
if context_dest == self.lxmf_destination.hash and limit == 1: if context_dest == self.lxmf_destination.hash and limit == 1:
try: try:
return [[self.latest_telemetry["time"]["utc"], self.latest_packed_telemetry]] return [[self.latest_telemetry["time"]["utc"], self.latest_packed_telemetry]]
except: except Exception as e:
RNS.log("An error occurred while retrieving telemetry from the database: "+str(e), RNS.LOG_ERROR) RNS.log("An error occurred while retrieving telemetry from the database: "+str(e), RNS.LOG_ERROR)
return [] return []