diff options
Diffstat (limited to 'src/utilities/NBDServer.js')
-rw-r--r-- | src/utilities/NBDServer.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/utilities/NBDServer.js b/src/utilities/NBDServer.js index 57c79ce9..1f6f88fb 100644 --- a/src/utilities/NBDServer.js +++ b/src/utilities/NBDServer.js @@ -63,7 +63,7 @@ export default class NBDServer { }; this._on_ws_close = function (ev) { console.log( - `${endpoint} closed with code: ${ev.code} + reason: ${ev.reason}` + `${endpoint} closed with code: ${ev.code} + reason: ${ev.reason}`, ); console.log(JSON.stringify(ev)); this.socketClosed(ev.code); @@ -96,7 +96,7 @@ export default class NBDServer { var consumed = handler(this.msgbuf); if (consumed < 0) { console.log( - 'handler[state=' + this.state + '] returned error ' + consumed + 'handler[state=' + this.state + '] returned error ' + consumed, ); this.stop(); break; |