From: Pawel Wasowski
Date: Wed, 16 Sep 2020 13:51:09 +0000 (+0200)
Subject: [Bluetooth] Make error message more precise
X-Git-Tag: accepted/tizen/unified/20200923.142546~9
X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=a7967091730444fe0824cd3cbe0ea197234f4c2c;p=platform%2Fcore%2Fapi%2Fwebapi-plugins.git
[Bluetooth] Make error message more precise
[Verification] Code compiles
Change-Id: I252f82a0aede03297b852b9ad1e17bf5c71ec1b6
Signed-off-by: Pawel Wasowski
---
diff --git a/src/bluetooth/bluetooth_api.js b/src/bluetooth/bluetooth_api.js
index 9766aca..152454f 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'
);
}