Updated Android log level on bluetooth failure

This commit is contained in:
Mark Qvist 2023-10-02 17:39:19 +02:00
parent cf31435f39
commit 0a9366ba6e

View File

@ -166,8 +166,8 @@ class AndroidBluetoothManager():
raise IOError("The Bluetooth RFcomm socket could not be connected: "+str(e)) raise IOError("The Bluetooth RFcomm socket could not be connected: "+str(e))
except Exception as 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("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_ERROR) RNS.log("The contained exception was: "+str(e), RNS.LOG_DEBUG)
def close(self): def close(self):
if self.connected: if self.connected: