Extra logging for restart error
This commit is contained in:
parent
d278437a81
commit
a97abed533
1 changed files with 2 additions and 0 deletions
|
@ -1638,6 +1638,7 @@ var ZoteroPane = new function()
|
||||||
return true;
|
return true;
|
||||||
}.bind(this))()
|
}.bind(this))()
|
||||||
.catch(function (e) {
|
.catch(function (e) {
|
||||||
|
Zotero.logError(e);
|
||||||
this.displayErrorMessage();
|
this.displayErrorMessage();
|
||||||
throw e;
|
throw e;
|
||||||
}.bind(this))
|
}.bind(this))
|
||||||
|
@ -4963,6 +4964,7 @@ var ZoteroPane = new function()
|
||||||
self.setItemsPaneMessage(msg, true);
|
self.setItemsPaneMessage(msg, true);
|
||||||
}
|
}
|
||||||
Zotero.debug(msg, 1);
|
Zotero.debug(msg, 1);
|
||||||
|
Zotero.debug(new Error().stack, 1);
|
||||||
}
|
}
|
||||||
|
|
||||||
this.displayStartupError = function(asPaneMessage) {
|
this.displayStartupError = function(asPaneMessage) {
|
||||||
|
|
Loading…
Reference in a new issue