Log some sync errors to console
This commit is contained in:
parent
e725eb88b4
commit
de9f1e8943
1 changed files with 2 additions and 0 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue