Frontend: Only log in session.js if debug is true
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
This commit is contained in:
parent
7d6e8c937e
commit
dd6f4f3fc4
|
@ -192,7 +192,9 @@ export default class Session {
|
||||||
try {
|
try {
|
||||||
Socket.send(JSON.stringify(clientInfo));
|
Socket.send(JSON.stringify(clientInfo));
|
||||||
} catch (e) {
|
} catch (e) {
|
||||||
console.log("session: can't use websocket, not connected (yet)");
|
if(this.config.debug) {
|
||||||
|
console.log("session: can't use websocket, not connected (yet)");
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue