diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/ws/proto.js | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/ws/proto.js b/src/ws/proto.js index d21908e..e4834b0 100644 --- a/src/ws/proto.js +++ b/src/ws/proto.js @@ -105,6 +105,13 @@ try if(msgstr[c] != ' ' || instring == true) msg[idx] += msgstr[c]; } + if(msg[0] == "error") + { + alert("Error(#" + unescape(msg[1]) + "): " + unescape(msg[2])); + f++; + continue; + } + var subscribeid = msg[0]; var cmd = msg[1]; var id = msg[2]; |