ConnectToProfile: log about the connection attempt.

This commit is contained in:
Vibhav Pant
2023-09-01 20:02:40 +05:30
parent 06c1cc52ab
commit 8602ac9c26
@@ -109,6 +109,8 @@ void BluetoothDevice::onConnectProfileReply(const sdbus::Error *error) {
}
bool BluetoothDevice::ConnectToProfile(absl::string_view service_uuid) {
NEARBY_LOGS(VERBOSE) << __func__ << ": " << getObjectPath()
<< ": Attempting to connect to profile " << service_uuid;
try {
ConnectProfile(std::string(service_uuid));
return true;