mirror of
https://github.com/zotero/zotero.git
synced 2026-10-03 02:21:49 +00:00
Display proper unexpected status code
This commit is contained in:
parent
91588ccf29
commit
4e2f6f7bf9
1 changed files with 1 additions and 1 deletions
|
|
@ -674,7 +674,7 @@ Zotero.Sync.Storage.Session.ZFS.prototype._onUploadComplete = function (httpRequ
|
|||
// Register upload on server
|
||||
Zotero.Utilities.HTTP.doPost(uri, body, function (req) {
|
||||
if (req.status != 204) {
|
||||
var msg = "Unexpected file registration status " + status
|
||||
var msg = "Unexpected file registration status " + req.status
|
||||
+ " in Zotero.Sync.Storage._onUploadComplete()";
|
||||
Zotero.debug(msg + " (" + Zotero.Items.getLibraryKeyHash(item) + ")", 1);
|
||||
Zotero.debug(req.responseText);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue