log to console, not an alert
This fires if you press the back button, which is annoying
This commit is contained in:
parent
445d0eaa8d
commit
3fb739c4e4
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue