[gnome-keysign: 7/11] bluetooth: log where we try to connect to




commit 68ccc0a1355647f8c813e642407286cf6aa82ad2
Author: Tobias Mueller <muelli cryptobitch de>
Date:   Wed Sep 14 21:43:02 2022 +0200

    bluetooth: log where we try to connect to
    
    This will hopefully help to identify a trivial mismatch of the
    addresses.

 keysign/bluetoothreceive.py | 1 +
 1 file changed, 1 insertion(+)
---
diff --git a/keysign/bluetoothreceive.py b/keysign/bluetoothreceive.py
index 445cecd..f123fd0 100644
--- a/keysign/bluetoothreceive.py
+++ b/keysign/bluetoothreceive.py
@@ -46,6 +46,7 @@ class BluetoothReceive:
         try:
             self.client_socket.setblocking(False)
             try:
+                log.info("Trying to connect to %s port %s", bt_mac, self.port)
                 self.client_socket.connect((bt_mac, self.port))
             except BluetoothError as be:
                 if be.args[0] == "(115, 'Operation now in progress')":


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]