log to console, not an alert

This fires if you press the back button, which is annoying
This commit is contained in:
Dane Everitt 2016-01-01 18:14:26 -05:00
parent 445d0eaa8d
commit 3fb739c4e4

View file

@ -68,7 +68,7 @@
}); });
socket.on('error', function (err) { socket.on('error', function (err) {
alert('There was an error while attemping to connect to the websocket: ' + err + '\n\nPlease try loading this page again.'); console.error('There was an error while attemping to connect to the websocket: ' + err + '\n\nPlease try loading this page again.');
}); });
// Socket Sends Server Status on Connect // Socket Sends Server Status on Connect