GUACAMOLE-526: Handle rejections for absolutely all promises.
This commit is contained in:
1 parent
f6d5e5662b
commit
266b445c21
23 files changed
+118
-276
No files matched your search
@@ -137,7 +137,7 @@ angular.module('index').controller('indexController', ['$scope', '$injector',
|
||||
var checkClipboard = function checkClipboard() {
|
||||
clipboardService.getLocalClipboard().then(function clipboardRead(data) {
|
||||
$scope.$broadcast('guacClipboard', data);
|
||||
})['catch'](angular.noop);
|
||||
}, angular.noop);
|
||||
};
|
||||
|
||||
// Attempt to read the clipboard if it may have changed
|
||||
|
||||
Reference in new issue
Block a user