commit de9f1e89433ea6451f30cc3b03c559fddba15491 parent e725eb88b40ea90188a3e72cfcbbd1ddc974595a Author: Dan Stillman <dstillman@zotero.org> Date: Wed, 1 Feb 2012 02:39:49 -0500 Log some sync errors to console Diffstat:
| M | chrome/content/zotero/xpcom/storage/zfs.js | | | 2 | ++ |
1 file changed, 2 insertions(+), 0 deletions(-)
diff --git 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; }