commit 4e2f6f7bf9e4502326978fb79a7fc094d7c636a3
parent 91588ccf2955acec3904c0c6f59f4a18f54bbec2
Author: Dan Stillman <dstillman@zotero.org>
Date: Thu, 24 Dec 2009 09:15:17 +0000
Display proper unexpected status code
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/chrome/content/zotero/xpcom/storage/zfs.js b/chrome/content/zotero/xpcom/storage/zfs.js
@@ -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);