commit 338096e1a37d42111fb17a080aa57bb942cad4ab
parent a815fefa281ba00ffcc93ccf34fef99a1bb2445e
Author: Dan Stillman <dstillman@zotero.org>
Date: Wed, 1 Sep 2010 05:13:28 +0000
Display more helpful message for "Hash not found in HEAD response" error
Diffstat:
1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/chrome/content/zotero/xpcom/storage/zfs.js b/chrome/content/zotero/xpcom/storage/zfs.js
@@ -142,7 +142,11 @@ Zotero.Sync.Storage.Session.ZFS.prototype._getStorageFileInfo = function (item,
catch (e) {
Zotero.debug("Response headers unavailable");
}
- self.onError();
+ // TODO: localize?
+ var msg = "A file sync error occurred. Please restart Firefox and/or your computer and try syncing again.\n\n"
+ + "If the error persists, there may be a problem with either your computer or your network—security software, proxy server, VPN, etc. "
+ + "Try disabling any security/firewall software you're using or, if this is a laptop, try from a different network.";
+ self.onError(msg);
return;
}
info.filename = req.getResponseHeader('X-Zotero-Filename');