1
1
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:
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) {
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