mirror of
https://github.com/markqvist/Reticulum.git
synced 2026-08-27 04:08:58 +00:00
Transport: handle exceptions in inbound()
This commit is contained in:
parent
acecc1f490
commit
c95bb551ab
1 changed files with 7 additions and 0 deletions
|
|
@ -1533,6 +1533,13 @@ class Transport:
|
|||
|
||||
@staticmethod
|
||||
def inbound(raw, interface=None, tc=None):
|
||||
try: Transport.process_inbound(raw, interface, tc)
|
||||
except Exception as e:
|
||||
RNS.log(f"Error while processing inbound on {interface}: {e}", RNS.LOG_ERROR)
|
||||
RNS.trace_exception(e)
|
||||
|
||||
@staticmethod
|
||||
def process_inbound(raw, interface=None, tc=None):
|
||||
if not Transport.ready:
|
||||
wait_start = time.time()
|
||||
while not Transport.ready:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue