diff --git a/RNS/Transport.py b/RNS/Transport.py index 4c2a0ae..d3902f4 100755 --- a/RNS/Transport.py +++ b/RNS/Transport.py @@ -2186,11 +2186,13 @@ class Transport: packet.receiving_interface = interface return packet - else: - return None + + else: return None + except Exception as e: RNS.log("Exception occurred while getting cached packet.", RNS.LOG_ERROR) RNS.log("The contained exception was: "+str(e), RNS.LOG_ERROR) + return None @staticmethod def cache_request_packet(packet):