mirror of
https://github.com/pyrohost/pyrodactyl.git
synced 2026-04-06 04:01:58 +02:00
log to console, not an alert
This fires if you press the back button, which is annoying
This commit is contained in:
@@ -68,7 +68,7 @@
|
||||
});
|
||||
|
||||
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
|
||||
|
||||
Reference in New Issue
Block a user