Compare commits

..

2 Commits

Author SHA1 Message Date
Mark Qvist
fddf36a920 Updated manual 2023-10-16 19:33:13 +02:00
Mark Qvist
4f561a8c0c Added exception handling to interface detach 2023-10-16 18:54:36 +02:00
3 changed files with 4 additions and 1 deletions

View File

@ -2238,7 +2238,10 @@ class Transport:
pass
for interface in detachable_interfaces:
interface.detach()
try:
interface.detach()
except Exception as e:
RNS.log("An error occurred while detaching "+str(interface)+". The contained exception was: "+str(e), RNS.LOG_ERROR)
@staticmethod
def shared_connection_disappeared():

Binary file not shown.

Binary file not shown.