Extra logging for restart error

This commit is contained in:
Dan Stillman 2018-08-11 06:22:28 -04:00
parent d278437a81
commit a97abed533

View file

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