Skip to content

Commit 3fb739c

Browse files
committed
log to console, not an alert
This fires if you press the back button, which is annoying
1 parent 445d0ea commit 3fb739c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

resources/views/layouts/master.blade.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@
6868
});
6969
7070
socket.on('error', function (err) {
71-
alert('There was an error while attemping to connect to the websocket: ' + err + '\n\nPlease try loading this page again.');
71+
console.error('There was an error while attemping to connect to the websocket: ' + err + '\n\nPlease try loading this page again.');
7272
});
7373
7474
// Socket Sends Server Status on Connect

0 commit comments

Comments
 (0)