Adds better startup error debugging (from r2976) to branch
This commit is contained in:
parent
e5f2c8fd35
commit
67f9b225d0
|
@ -127,7 +127,15 @@ Cc["@mozilla.org/moz/jssubscript-loader;1"]
|
|||
// Calls to other XPCOM components must be in here rather than in top-level
|
||||
// code, as other components may not have yet been initialized.
|
||||
function setupService(){
|
||||
Zotero.init();
|
||||
try {
|
||||
Zotero.init();
|
||||
}
|
||||
catch (e) {
|
||||
var msg = typeof e == 'string' ? e : e.name;
|
||||
dump(e + "\n\n");
|
||||
Components.utils.reportError(e);
|
||||
throw (e);
|
||||
}
|
||||
}
|
||||
|
||||
function ZoteroService(){
|
||||
|
|
Loading…
Reference in New Issue
Block a user