Log some sync errors to console

This commit is contained in:
Dan Stillman 2012-02-01 02:39:49 -05:00
parent e725eb88b4
commit de9f1e8943

View file

@ -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;
}