From 7ae7cc3579c99a3466d37ebbadca47127d0b4f53 Mon Sep 17 00:00:00 2001 From: Dan Stillman Date: Mon, 4 Jan 2010 23:20:51 +0000 Subject: [PATCH] Include filename in logged error message on quota error --- chrome/content/zotero/xpcom/storage/zfs.js | 4 ++-- 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 index cb3fa89b29..8f74f9c70f 100644 --- 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,