diff --git a/lib/Connection.js b/lib/Connection.js index ff6dcfacf55..1ab5b821837 100644 --- a/lib/Connection.js +++ b/lib/Connection.js @@ -54,7 +54,7 @@ class Connection extends EventEmitter { send(method, params = {}) { let id = ++this._lastId; let message = JSON.stringify({id, method, params}); - debug('◀ SEND ' + message); + debug('SEND ► ' + message); this._ws.send(message); return new Promise((resolve, reject) => { this._callbacks.set(id, {resolve, reject, method}); @@ -65,7 +65,7 @@ class Connection extends EventEmitter { * @param {string} message */ _onMessage(message) { - debug('RECV ► ' + message); + debug('◀ RECV ' + message); let object = JSON.parse(message); if (object.id && this._callbacks.has(object.id)) { let callback = this._callbacks.get(object.id);