[NearbyConnections][C++] Change FATAL logs to ERROR

PiperOrigin-RevId: 388525052
This commit is contained in:
nohle
2021-08-03 13:02:49 -07:00
committed by Copybara-Service
parent 0937be0fbb
commit ecb5e7488a
2 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -1008,7 +1008,7 @@ bool BasePcpHandler::IsPreferred(
for (const auto& medium : mediums) {
absl::StrAppend(&medium_string, medium, "; ");
}
NEARBY_LOGS(FATAL) << "Failed to find either " << new_endpoint.medium
NEARBY_LOGS(ERROR) << "Failed to find either " << new_endpoint.medium
<< " or " << old_endpoint.medium
<< " in the list of locally supported mediums despite "
"expecting to find both, when deciding which medium "
+2 -2
View File
@@ -133,7 +133,7 @@ BasePcpHandler::StartOperationResult P2pClusterPcpHandler::StartAdvertisingImpl(
}
if (mediums_started_successfully.empty()) {
NEARBY_LOGS(FATAL) << "Failed StartAdvertising("
NEARBY_LOGS(ERROR) << "Failed StartAdvertising("
<< absl::BytesToHexString(local_endpoint_info.data())
<< ") for client=" << client->GetClientId();
return {
@@ -724,7 +724,7 @@ BasePcpHandler::StartOperationResult P2pClusterPcpHandler::StartDiscoveryImpl(
}
if (mediums_started_successfully.empty()) {
NEARBY_LOGS(FATAL)
NEARBY_LOGS(ERROR)
<< "Failed StartDiscovery() for client=" << client->GetClientId()
<< " because we couldn't scan on Bluetooth, BLE, or WifiLan for "
"service_id="