fix error catching when accounts not yet initialized

This commit is contained in:
foudfou 2013-09-19 16:49:07 +02:00
parent f6508616e6
commit d8536d8127
1 changed files with 1 additions and 1 deletions

View File

@ -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) {