mirror of
https://github.com/kidfromjupiter/nearby.git
synced 2026-09-14 22:56:12 -04:00
Log the failure to get RF service
PiperOrigin-RevId: 567017321
This commit is contained in:
committed by
Copybara-Service
parent
6adba4c2f8
commit
1e5587e2db
@@ -1,4 +1,4 @@
|
||||
// Copyright 2020 Google LLC
|
||||
// Copyright 2020-2023 Google LLC
|
||||
//
|
||||
// Licensed under the Apache License, Version 2.0 (the "License");
|
||||
// you may not use this file except in compliance with the License.
|
||||
@@ -117,6 +117,9 @@ RfcommDeviceService BluetoothDevice::GetRfcommServiceForIdAsync(
|
||||
}
|
||||
}
|
||||
|
||||
NEARBY_LOGS(ERROR)
|
||||
<< __func__
|
||||
<< ": Failed to get RfcommDeviceService due to no any services.";
|
||||
return nullptr;
|
||||
} catch (std::exception exception) {
|
||||
NEARBY_LOGS(ERROR) << __func__ << ": Failed to get RfcommDeviceService: "
|
||||
|
||||
Reference in New Issue
Block a user