From de9f1e89433ea6451f30cc3b03c559fddba15491 Mon Sep 17 00:00:00 2001 From: Dan Stillman Date: Wed, 1 Feb 2012 02:39:49 -0500 Subject: [PATCH] Log some sync errors to console --- chrome/content/zotero/xpcom/storage/zfs.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/chrome/content/zotero/xpcom/storage/zfs.js b/chrome/content/zotero/xpcom/storage/zfs.js index 1d5d271ac..1a72d6dd1 100644 --- a/chrome/content/zotero/xpcom/storage/zfs.js +++ b/chrome/content/zotero/xpcom/storage/zfs.js @@ -753,6 +753,7 @@ Zotero.Sync.Storage.Session.ZFS.prototype._onUploadComplete = function (httpRequ + " (" + Zotero.Items.getLibraryKeyHash(item) + ")"; Zotero.debug(msg, 1); Components.utils.reportError(msg); + Components.utils.reportError(response); this.onError(); return; } @@ -772,6 +773,7 @@ Zotero.Sync.Storage.Session.ZFS.prototype._onUploadComplete = function (httpRequ Zotero.debug(req.responseText); Zotero.debug(req.getAllResponseHeaders()); Components.utils.reportError(msg); + Components.utils.reportError(req.responseText); self.onError(); return; }