From e43dd394c430700037d9dfe4b6c87574ec3723dc Mon Sep 17 00:00:00 2001 From: YUKI Hiroshi Date: Tue, 11 Nov 2014 21:21:27 +0900 Subject: [PATCH] Report internal error while restoring tree --- modules/browser.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/modules/browser.js b/modules/browser.js index b147f6a7..55d89432 100644 --- a/modules/browser.js +++ b/modules/browser.js @@ -4254,6 +4254,9 @@ TreeStyleTabBrowser.prototype = inherit(TreeStyleTabWindow.prototype, { .then(function(aBehavior) { if (aBehavior & self.kUNDO_CLOSE_SET) self.doRestoreClosedSet(aRestoredTab, indexes); + }) + .catch(function(aError) { + Components.utils.reportError(aError); }); }, false); }