[Bluetooth] Make error message more precise 79/244479/2
authorPawel Wasowski <p.wasowski2@samsung.com>
Wed, 16 Sep 2020 13:51:09 +0000 (15:51 +0200)
committerPawel Wasowski <p.wasowski2@samsung.com>
Wed, 16 Sep 2020 13:52:50 +0000 (15:52 +0200)
[Verification] Code compiles

Change-Id: I252f82a0aede03297b852b9ad1e17bf5c71ec1b6
Signed-off-by: Pawel Wasowski <p.wasowski2@samsung.com>
src/bluetooth/bluetooth_api.js

index 9766aca..152454f 100755 (executable)
@@ -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'
         );
     }