From c278433a76c8b2f3d4a32e53bc82bbc0d45099a4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Eddy=20Bru=C3=ABl?= Date: Fri, 9 Jan 2015 15:26:54 +0100 Subject: [PATCH] Bug 1118806 - Handle uncaught promise rejections in the storage inspector;r=pbrosset --- browser/devtools/storage/ui.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/browser/devtools/storage/ui.js b/browser/devtools/storage/ui.js index 95c4ba62a74..a0ddfa8b02b 100644 --- a/browser/devtools/storage/ui.js +++ b/browser/devtools/storage/ui.js @@ -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);