[Pkg-mozext-commits] [firetray] 384/399: fix error catching when accounts not yet initialized
David Prévot
taffit at alioth.debian.org
Tue Oct 29 18:24:19 UTC 2013
This is an automated email from the git hooks/post-receive script.
taffit pushed a commit to branch dfsg-clean
in repository firetray.
commit d8536d81271d4b6dbefa00221cbde1c44eca2d76
Author: foudfou <foudil.newbie+git at gmail.com>
Date: Thu Sep 19 16:49:07 2013 +0200
fix error catching when accounts not yet initialized
---
src/modules/FiretrayChat.jsm | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/modules/FiretrayChat.jsm b/src/modules/FiretrayChat.jsm
index 0eac3e7..7781470 100644
--- a/src/modules/FiretrayChat.jsm
+++ b/src/modules/FiretrayChat.jsm
@@ -320,7 +320,7 @@ firetray.Chat = {
return globalConnected;
} catch (e if e instanceof Components.Exception &&
- e.result === Components.results.NS_ERROR_XPC_JS_THREW_JS_OBJECT &&
+ e.result === Components.results.NS_ERROR_XPC_JAVASCRIPT_ERROR_WITH_DETAILS &&
/_items is undefined/.test(e.message)) {
return false; // ignore
} catch(e) {
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-mozext/firetray.git
More information about the Pkg-mozext-commits
mailing list