         didDisconnectPeripheral peripheral: CBPeripheral,
         error: Error?)
     {
+        if error != nil { self.publish(notification: .error(.unknownError("ERROR: \(#function)"))) }
         
         let peerId = peripheral.identifier.uuidString
         

                self.activePairingTasks.remove(at: i)
            }
            
            self.publish(notification: .clinked(peerWithId: peerId))
            self.connect(peerWithId: peerId)
        }

    }
    
    public final func centralManager(_ central: CBCentralManager, didFailToConnect peripheral: CBPeripheral, error: Error?) {
        if error != nil { self.publish(notification: .error(.unknownError("ERROR: \(#function)"))) }
        
        peripheral.delegate = self
        
