parent
9dfce743cf
commit
ab490074d3
2 changed files with 6 additions and 0 deletions
|
@ -330,6 +330,9 @@ weechat.factory('connection', ['$rootScope', '$log', 'handlers', 'colors', funct
|
|||
}
|
||||
|
||||
websocket.onerror = function (evt) {
|
||||
if (evt.type == "error" && websocket.readyState == 0) {
|
||||
$rootScope.errorMessage = true;
|
||||
}
|
||||
$log.error("Relay error " + evt.data);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue