diff --git a/src/io/bt.js b/src/io/bt.js
index <HASH>..<HASH> 100644
--- a/src/io/bt.js
+++ b/src/io/bt.js
@@ -19,7 +19,7 @@ class BT extends JSONRPCWebSocket {
 
         this._ws = ws;
         this._ws.onopen = this.requestPeripheral.bind(this); // only call request peripheral after socket opens
-        this._ws.onerror = this._sendDisconnectError.bind(this, 'ws onerror');
+        this._ws.onerror = this._sendRequestError.bind(this, 'ws onerror');
         this._ws.onclose = this._sendDisconnectError.bind(this, 'ws onclose');
 
         this._availablePeripherals = {};
On websocket error, use sendRequestError instead of disconnect (#<I>)