commit 7ae7cc3579c99a3466d37ebbadca47127d0b4f53
parent 7d83967137cfbc5ef0cb3a3f66191754c718c605
Author: Dan Stillman <dstillman@zotero.org>
Date: Mon, 4 Jan 2010 23:20:51 +0000
Include filename in logged error message on quota error
Diffstat:
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/chrome/content/zotero/xpcom/storage/zfs.js b/chrome/content/zotero/xpcom/storage/zfs.js
@@ -388,7 +388,7 @@ Zotero.Sync.Storage.Session.ZFS.prototype._processUploadFile = function (data) {
}
}
else {
- Zotero.debug("Remote file not found for item " + item.id);
+ Zotero.debug("Remote file not found for item " + item.libraryID + "/" + item.key);
}
}
@@ -490,7 +490,7 @@ Zotero.Sync.Storage.Session.ZFS.prototype._getFileUploadParameters = function (i
Zotero.debug(req.responseText);
var e = new Zotero.Error(
- "File would exceed Zotero File Storage quota",
+ "The file '" + filename + "' would exceed your Zotero File Storage quota",
"ZFS_OVER_QUOTA",
{
dialogText: text,