Error logging

This commit is contained in:
Mark Qvist 2026-08-19 13:39:53 +02:00
parent 39e3854dac
commit acecc1f490
No known key found for this signature in database

View file

@ -930,7 +930,7 @@ class Link:
self.watchdog_lock = True
try: self.__receive(packet)
except Exception as e:
RNS.log(f"Error while receiving a packet: {e}", RNS.LOG_ERROR)
RNS.log(f"Error on {self} while receiving packet: {e}", RNS.LOG_ERROR)
RNS.trace_exception(e)
finally: self.watchdog_lock = False