commit 48778b5d50d8d84b8b383000f517867f6b25c1a5
parent 33128d1f5924c1f3dac3c8dac1f8219d282c6372
Author: Dan Stillman <dstillman@zotero.org>
Date: Mon, 11 Sep 2017 03:52:10 -0400
Fix "undefined" for stack when a string is passed as Zotero.startupError
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/components/zotero-service.js b/components/zotero-service.js
@@ -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;