mirror of
https://github.com/pterodactyl/panel.git
synced 2024-11-22 09:02:28 +01:00
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
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user