Fix "undefined" for stack when a string is passed as Zotero.startupError
This commit is contained in:
parent
33128d1f59
commit
48778b5d50
1 changed files with 1 additions and 1 deletions
|
@ -357,7 +357,7 @@ function ZoteroService() {
|
|||
dump(e + "\n\n");
|
||||
Components.utils.reportError(e);
|
||||
if (!zContext.Zotero.startupError) {
|
||||
zContext.Zotero.startupError = e.stack || e + "\n\n" + e.stack;
|
||||
zContext.Zotero.startupError = e.stack || e;
|
||||
}
|
||||
if (!isStandalone()) {
|
||||
throw e;
|
||||
|
|
Loading…
Add table
Reference in a new issue