Do a better job of displaying startup errors
This helps ensure that the toolbar button opens an alert with the relevant error instead of opening the Zotero pane with an infinite progress meter.
This commit is contained in:
parent
c54af7a5ae
commit
2d6a1b3541
1 changed files with 3 additions and 0 deletions
|
@ -351,6 +351,9 @@ function ZoteroService() {
|
|||
|
||||
dump(e + "\n\n");
|
||||
Components.utils.reportError(e);
|
||||
if (!zContext.Zotero.startupError) {
|
||||
zContext.Zotero.startupError = e;
|
||||
}
|
||||
throw e;
|
||||
})
|
||||
.then(function () {
|
||||
|
|
Loading…
Reference in a new issue