From b7c5caa8ee56c7665795c43c8523905a5569c5c2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Adomas=20Ven=C4=8Dkauskas?= Date: Wed, 24 Sep 2025 11:35:24 +0300 Subject: [PATCH] Citation Dialog: log failures to select citation in document --- chrome/content/zotero/integration/citationExplorer.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/chrome/content/zotero/integration/citationExplorer.js b/chrome/content/zotero/integration/citationExplorer.js index 14ae0dd62b..6701c1caf2 100644 --- a/chrome/content/zotero/integration/citationExplorer.js +++ b/chrome/content/zotero/integration/citationExplorer.js @@ -321,7 +321,9 @@ window.ZoteroDocumentCitations = { return; } } - catch (e) { } + catch (e) { + Zotero.logError(e); + } // An error got thrown or wrong citation got activated, which means that some citations got deleted // and now the citation explorer dialog is not showing correct citations and citation // activation is not going to work right.