forked from platypush/platypush
onopen logging message
This commit is contained in:
parent
b675f631e9
commit
0d2a1e5932
1 changed files with 4 additions and 0 deletions
|
@ -17,6 +17,10 @@ $(document).ready(function() {
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
websocket.onopen = function(event) {
|
||||||
|
console.log('Websocket connection successful');
|
||||||
|
};
|
||||||
|
|
||||||
websocket.onerror = function(event) {
|
websocket.onerror = function(event) {
|
||||||
console.error(event);
|
console.error(event);
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue