Updated Android log level on bluetooth failure

pull/385/head
Mark Qvist 2023-10-02 17:39:19 +02:00
rodzic cf31435f39
commit 0a9366ba6e
1 zmienionych plików z 2 dodań i 2 usunięć

Wyświetl plik

@ -166,8 +166,8 @@ class AndroidBluetoothManager():
raise IOError("The Bluetooth RFcomm socket could not be connected: "+str(e))
except Exception as e:
RNS.log("Could not create and connect Bluetooth RFcomm socket for "+str(device.getName())+" "+str(device.getAddress()), RNS.LOG_ERROR)
RNS.log("The contained exception was: "+str(e), RNS.LOG_ERROR)
RNS.log("Could not create and connect Bluetooth RFcomm socket for "+str(device.getName())+" "+str(device.getAddress()), RNS.LOG_DEBUG)
RNS.log("The contained exception was: "+str(e), RNS.LOG_DEBUG)
def close(self):
if self.connected: