diff --git a/chrome/content/zotero/xpcom/search.js b/chrome/content/zotero/xpcom/search.js index a351ed73c9..fde3ab0dd1 100644 --- a/chrome/content/zotero/xpcom/search.js +++ b/chrome/content/zotero/xpcom/search.js @@ -2383,6 +2383,7 @@ Zotero.SearchConditions = new function(){ return Zotero.getString('searchConditions.' + str) } catch (e) { + Zotero.debug("String not found for searchConditions." + str, 2); return Zotero.ItemFields.getLocalizedString(null, str); } } diff --git a/chrome/content/zotero/xpcom/zotero.js b/chrome/content/zotero/xpcom/zotero.js index da8c65f7d7..7d6f652a71 100644 --- a/chrome/content/zotero/xpcom/zotero.js +++ b/chrome/content/zotero/xpcom/zotero.js @@ -1447,8 +1447,10 @@ Components.utils.import("resource://gre/modules/Services.jsm"); if (e.name == 'NS_ERROR_ILLEGAL_VALUE') { Zotero.debug(params, 1); } - Components.utils.reportError(e); - Zotero.debug(e, 1); + else if (e.name != 'NS_ERROR_FAILURE') { + Components.utils.reportError(e); + Zotero.debug(e, 1); + } throw ('Localized string not available for ' + name); } return l10n;