Bug 1118806 - Handle uncaught promise rejections in the storage inspector;r=pbrosset

This commit is contained in:
Eddy Bruël 2015-01-09 15:26:54 +01:00
parent 03b25d47cc
commit c278433a76

View File

@ -81,7 +81,7 @@ this.StorageUI = function StorageUI(front, target, panelWin) {
this.front.listStores().then(storageTypes => {
this.populateStorageTree(storageTypes);
});
}).catch(Cu.reportError);
this.onUpdate = this.onUpdate.bind(this);
this.front.on("stores-update", this.onUpdate);