mirror of
https://github.com/kidfromjupiter/nearby.git
synced 2026-09-16 15:36:12 -04:00
[NearbyConnections][C++] Change FATAL logs to ERROR
PiperOrigin-RevId: 388525052
This commit is contained in:
@@ -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 "
|
||||
|
||||
@@ -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="
|
||||
|
||||
Reference in New Issue
Block a user