From 4e2f6f7bf9e4502326978fb79a7fc094d7c636a3 Mon Sep 17 00:00:00 2001 From: Dan Stillman Date: Thu, 24 Dec 2009 09:15:17 +0000 Subject: [PATCH] Display proper unexpected status code --- chrome/content/zotero/xpcom/storage/zfs.js | 2 +- 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 index bf46d2274..81e0ac55a 100644 --- 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);