summaryrefslogtreecommitdiff
path: root/web
diff options
context:
space:
mode:
authorAleš Smodiš <aless@guru.si>2015-09-15 10:46:10 +0200
committerAleš Smodiš <aless@guru.si>2015-09-15 10:46:10 +0200
commit64073d4c7efb2f21f66d0fea5083c659a1b0a15e (patch)
tree45b778a32cf2e15ff8edd8ea23efc13176d98ca2 /web
parenta49a44fc4b06f2675de3a4f7cbc9ac4e477f1c28 (diff)
Augmented the readme with apache directives for proxying websocket directives.
Diffstat (limited to 'web')
-rw-r--r--web/main.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/web/main.js b/web/main.js
index d2b84af..7f1b2e4 100644
--- a/web/main.js
+++ b/web/main.js
@@ -195,7 +195,7 @@ server.on('connection', function (socket) {
};
socket.on('close', function (reason, description) { // description is optional
- logger.debug('GUI socket closed');
+ logger.debug('GUI socket closed: ' + reason);
if (session.sid !== null) {
if (sessions[session.sid] === session) delete sessions[session.sid];
sendDataToPython({'type': 'unregister', 'sid': session.sid});