From 9b3d7a32e3f577c028a9df6af94d1918e2fd3168 Mon Sep 17 00:00:00 2001 From: Dan Stillman Date: Thu, 12 May 2022 05:49:53 -0400 Subject: [PATCH] Include error message in startup error dialog --- chrome/content/zotero/xpcom/zotero.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/chrome/content/zotero/xpcom/zotero.js b/chrome/content/zotero/xpcom/zotero.js index 9dcfe7384d..6ec0593023 100644 --- a/chrome/content/zotero/xpcom/zotero.js +++ b/chrome/content/zotero/xpcom/zotero.js @@ -754,7 +754,7 @@ Services.scriptloader.loadSubScript("resource://zotero/polyfill.js"); if (!Zotero.startupError) { Zotero.startupError = Zotero.getString('startupError', Zotero.appName) + "\n\n" + Zotero.getString('db.integrityCheck.reportInForums') + "\n\n" - + (e.stack || e); + + e.message ? (e.message + "\n\n" + e.stack) : e; } return false; }