fix error catching when accounts not yet initialized
This commit is contained in:
parent
f6508616e6
commit
d8536d8127
|
@ -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) {
|
||||
|
|
Loading…
Reference in New Issue