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
1 changed files with 3 additions and 1 deletions
|
@ -192,7 +192,9 @@ export default class Session {
|
|||
try {
|
||||
Socket.send(JSON.stringify(clientInfo));
|
||||
} 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