| Index: device/bluetooth/bluetooth_remote_gatt_characteristic_mac.mm
|
| diff --git a/device/bluetooth/bluetooth_remote_gatt_characteristic_mac.mm b/device/bluetooth/bluetooth_remote_gatt_characteristic_mac.mm
|
| index b15b0f5fcadaf62d1ec2116ba74141c329bc8f60..8e4a14dd52d75dfdf3866ffe1f357e58f7fb30ca 100644
|
| --- a/device/bluetooth/bluetooth_remote_gatt_characteristic_mac.mm
|
| +++ b/device/bluetooth/bluetooth_remote_gatt_characteristic_mac.mm
|
| @@ -262,7 +262,8 @@ void BluetoothRemoteGattCharacteristicMac::DidUpdateValue(NSError* error) {
|
| BluetoothDeviceMac::GetGattErrorCodeFromNSError(error);
|
| VLOG(1) << *this
|
| << ": Bluetooth error while reading for characteristic, domain: "
|
| - << error << ", error code: " << error_code;
|
| + << BluetoothAdapterMac::String(error)
|
| + << ", error code: " << error_code;
|
| callbacks.second.Run(error_code);
|
| return;
|
| }
|
| @@ -307,7 +308,8 @@ void BluetoothRemoteGattCharacteristicMac::DidWriteValue(NSError* error) {
|
| BluetoothDeviceMac::GetGattErrorCodeFromNSError(error);
|
| VLOG(1) << *this
|
| << ": Bluetooth error while writing for characteristic, error: "
|
| - << error << ", error code: " << error_code;
|
| + << BluetoothAdapterMac::String(error)
|
| + << ", error code: " << error_code;
|
| callbacks.second.Run(error_code);
|
| return;
|
| }
|
| @@ -334,7 +336,8 @@ void BluetoothRemoteGattCharacteristicMac::DidUpdateNotificationState(
|
| VLOG(1) << *this
|
| << ": Bluetooth error while modifying notification state for "
|
| "characteristic, error: "
|
| - << error << ", error code: " << error_code;
|
| + << BluetoothAdapterMac::String(error)
|
| + << ", error code: " << error_code;
|
| reentrant_safe_callbacks.second.Run(error_code);
|
| return;
|
| }
|
|
|