ConnectToProfile: log about the connection attempt.

This commit is contained in:
Vibhav Pant
2023-09-01 20:02:40 +05:30
parent c8c1e87f6b
commit 252964b113
@@ -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;