mirror of
https://github.com/novnc/noVNC.git
synced 2026-05-29 16:39:40 +00:00
Don't log WebSocket close by default
This is an expected event so it shouldn't be logged by default.
This commit is contained in:
@@ -194,7 +194,7 @@ export default function RFB(target, url, options) {
|
||||
}
|
||||
}.bind(this));
|
||||
this._sock.on('close', function (e) {
|
||||
Log.Warn("WebSocket on-close event");
|
||||
Log.Debug("WebSocket on-close event");
|
||||
var msg = "";
|
||||
if (e.code) {
|
||||
msg = "(code: " + e.code;
|
||||
|
||||
Reference in New Issue
Block a user