tweaked the websocket error message, and finally commited something after a while ;)
This commit is contained in:
parent
3b893edfaa
commit
842b81c1bc
@ -20,5 +20,4 @@ angular.module('webui.ctrls.alert', [
|
|||||||
|
|
||||||
scope.$digest();
|
scope.$digest();
|
||||||
});
|
});
|
||||||
|
|
||||||
}]);
|
}]);
|
||||||
|
@ -28,7 +28,7 @@ function(_, JSON, name, utils, alerts) {
|
|||||||
_.each(sockRPC.handles, function(h) { h.error() });
|
_.each(sockRPC.handles, function(h) { h.error() });
|
||||||
sockRPC.handles = [];
|
sockRPC.handles = [];
|
||||||
sockRPC.initialized = false;
|
sockRPC.initialized = false;
|
||||||
alerts.log('Error while talking to aria2 over websocket');
|
alerts.log('Cannot talk to aria2 over websocket, resorting to http requests');
|
||||||
|
|
||||||
},
|
},
|
||||||
onclose: function(ev) {
|
onclose: function(ev) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user