diff --git a/chrome/content/zotero/xpcom/debug.js b/chrome/content/zotero/xpcom/debug.js index 8da623f7dd..97ff76f382 100644 --- a/chrome/content/zotero/xpcom/debug.js +++ b/chrome/content/zotero/xpcom/debug.js @@ -153,10 +153,14 @@ Zotero.Debug = new function () { } } - return Zotero.getErrors(true).join('\n\n') + - "\n\n" + Zotero.getSystemInfo() + "\n\n" + - "=========================================================\n\n" + - output; + if(Zotero.getErrors) { + return Zotero.getErrors(true).join('\n\n') + + "\n\n" + Zotero.getSystemInfo() + "\n\n" + + "=========================================================\n\n" + + output; + } else { + return output; + } }