Show error output when connection fails for websockets

This commit is contained in:
Kris Moore
2016-01-07 16:33:37 -05:00
parent 8abeeac890
commit 94f5526003

View File

@@ -27,6 +27,11 @@ function onClose(evt)
{
}
function onError(evt)
{
console.log(evt);
}
function onMessage(evt)
{
var jsonobj = JSON.parse(evt.data);