1
0
Fork 0
mirror of https://github.com/FrankerFaceZ/FrankerFaceZ.git synced 2025-06-28 05:15:54 +00:00

Abandon all hope of useful commit messages, ye who enter here.

This commit is contained in:
SirStendec 2015-07-13 21:52:44 -04:00
parent a7e7f7498d
commit 2bc2b7003b
26 changed files with 3271 additions and 430 deletions

View file

@ -174,7 +174,13 @@ FFZ.prototype.ws_send = function(func, data, callback, can_wait) {
if ( callback )
this._ws_callbacks[request] = callback;
this._ws_sock.send(request + " " + func + data);
try {
this._ws_sock.send(request + " " + func + data);
} catch(err) {
this.log("Socket Send Error: " + err);
return false;
}
return request;
}