Skip to content

Commit

Permalink
Fix "undefined" for stack when a string is passed as Zotero.startupError
Browse files Browse the repository at this point in the history
  • Loading branch information
dstillman committed Sep 11, 2017
1 parent 33128d1 commit 48778b5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion components/zotero-service.js
Expand Up @@ -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;
Expand Down

0 comments on commit 48778b5

Please sign in to comment.