From a7967091730444fe0824cd3cbe0ea197234f4c2c Mon Sep 17 00:00:00 2001 From: Pawel Wasowski Date: Wed, 16 Sep 2020 15:51:09 +0200 Subject: [PATCH] [Bluetooth] Make error message more precise [Verification] Code compiles Change-Id: I252f82a0aede03297b852b9ad1e17bf5c71ec1b6 Signed-off-by: Pawel Wasowski --- src/bluetooth/bluetooth_api.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/bluetooth/bluetooth_api.js b/src/bluetooth/bluetooth_api.js index 9766acae..152454ff 100755 --- a/src/bluetooth/bluetooth_api.js +++ b/src/bluetooth/bluetooth_api.js @@ -2001,7 +2001,7 @@ BluetoothGATTServerService.prototype.unregister = function() { if (serviceIndex === -1) { throw new WebAPIException( 'AbortError', - 'The service is not registered in the local GATT server' + 'The service is not registered in the local GATT server or is included in another service' ); } -- 2.34.1