mirror of
https://github.com/markqvist/Sideband.git
synced 2024-10-01 03:15:37 -04:00
Fixed invalid log output
This commit is contained in:
parent
f299e0c0ed
commit
92ccbbec0a
@ -1478,7 +1478,7 @@ class SidebandCore():
|
|||||||
RNS.log("Service heartbeat did not recover after retry", RNS.LOG_DEBUG)
|
RNS.log("Service heartbeat did not recover after retry", RNS.LOG_DEBUG)
|
||||||
return False
|
return False
|
||||||
else:
|
else:
|
||||||
RNS.log("Service heartbeat recovered at"+str(time), RNS.LOG_DEBUG)
|
RNS.log("Service heartbeat recovered at"+str(now), RNS.LOG_DEBUG)
|
||||||
return True
|
return True
|
||||||
else:
|
else:
|
||||||
return True
|
return True
|
||||||
@ -4311,6 +4311,7 @@ class SidebandCore():
|
|||||||
self.notify(title=self.peer_display_name(context_dest), content=notification_content, group="LXM", context_id=RNS.hexrep(context_dest, delimit=False))
|
self.notify(title=self.peer_display_name(context_dest), content=notification_content, group="LXM", context_id=RNS.hexrep(context_dest, delimit=False))
|
||||||
except Exception as e:
|
except Exception as e:
|
||||||
RNS.log("Could not post notification for received message: "+str(e), RNS.LOG_ERROR)
|
RNS.log("Could not post notification for received message: "+str(e), RNS.LOG_ERROR)
|
||||||
|
RNS.trace_exception(e)
|
||||||
|
|
||||||
def ptt_playback(self, message):
|
def ptt_playback(self, message):
|
||||||
ptt_timeout = 60
|
ptt_timeout = 60
|
||||||
|
Loading…
Reference in New Issue
Block a user