diff --git a/chrome/content/zotero/xpcom/zotero.js b/chrome/content/zotero/xpcom/zotero.js index 0e4a247c3..f41162958 100644 --- a/chrome/content/zotero/xpcom/zotero.js +++ b/chrome/content/zotero/xpcom/zotero.js @@ -1312,10 +1312,11 @@ Components.utils.import("resource://gre/modules/Services.jsm"); } /** - * Log a JS error to the Mozilla JS error console. + * Log a JS error to Mozilla JS error console and debug output * @param {Exception} err */ function logError(err) { + Zotero.debug(log, 1); log(err.message ? err.message : err.toString(), "error", err.fileName ? err.fileName : (err.filename ? err.filename : null), null, err.lineNumber ? err.lineNumber : null, null);