[Pkg-mozext-commits] [tabmixplus] 17/123: Handle promise rejection
David Prévot
taffit at moszumanska.debian.org
Wed Sep 17 21:16:23 UTC 2014
This is an automated email from the git hooks/post-receive script.
taffit pushed a commit to branch master
in repository tabmixplus.
commit 5d0ba00f9fa8055f3b28a3e9e3049f15956d7a5c
Author: onemen <tabmix.onemen at gmail.com>
Date: Thu Aug 14 22:50:08 2014 +0300
Handle promise rejection
---
chrome/content/session/session.js | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/chrome/content/session/session.js b/chrome/content/session/session.js
index 8030275..c1b3912 100644
--- a/chrome/content/session/session.js
+++ b/chrome/content/session/session.js
@@ -333,7 +333,8 @@ var TabmixSessionManager = {
this._init();
}.bind(this);
Tabmix.ssPromise = aPromise || TabmixSvc.ss.promiseInitialized;
- Tabmix.ssPromise.then(initializeSM, Cu.reportError);
+ Tabmix.ssPromise.then(initializeSM)
+ .then(null, Cu.reportError);
}
else {
let forceInit = !Tabmix.isVersion(250) && this.doRestore;
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-mozext/tabmixplus.git
More information about the Pkg-mozext-commits
mailing list