diff --git a/platypush/backend/http/static/js/application.js b/platypush/backend/http/static/js/application.js index 2fd3084c33..57d13c602a 100644 --- a/platypush/backend/http/static/js/application.js +++ b/platypush/backend/http/static/js/application.js @@ -17,6 +17,10 @@ $(document).ready(function() { } }; + websocket.onopen = function(event) { + console.log('Websocket connection successful'); + }; + websocket.onerror = function(event) { console.error(event); };