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");
|
dump(e + "\n\n");
|
||||||
Components.utils.reportError(e);
|
Components.utils.reportError(e);
|
||||||
if (!zContext.Zotero.startupError) {
|
if (!zContext.Zotero.startupError) {
|
||||||
zContext.Zotero.startupError = e.stack || e + "\n\n" + e.stack;
|
zContext.Zotero.startupError = e.stack || e;
|
||||||
}
|
}
|
||||||
if (!isStandalone()) {
|
if (!isStandalone()) {
|
||||||
throw e;
|
throw e;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue