www

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | Submodules | README | LICENSE

commit d367382f390d12aa8920b31cb19fe51efa60764c
parent a19786116d0a4e932492e245e9e2d50eea6f818f
Author: Simon Kornblith <simon@simonster.com>
Date:   Tue, 28 Feb 2012 11:21:12 -0500

Fix debug output logging in the connector

Diffstat:
Mchrome/content/zotero/xpcom/debug.js | 12++++++++----
1 file changed, 8 insertions(+), 4 deletions(-)

diff --git 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; + } }