commit e5a8f94a9fc518d634deb817ee237008fd6e6fd4 parent ef33984707d57ab179e0294a9168e25bac2ccd00 Author: Dan Stillman <dstillman@zotero.org> Date: Mon, 14 Dec 2009 10:07:55 +0000 Nicer message on S3 file upload failure Diffstat:
| M | chrome/content/zotero/xpcom/storage/zfs.js | | | 4 | ++++ |
1 file changed, 4 insertions(+), 0 deletions(-)
diff --git a/chrome/content/zotero/xpcom/storage/zfs.js b/chrome/content/zotero/xpcom/storage/zfs.js @@ -652,6 +652,10 @@ Zotero.Sync.Storage.Session.ZFS.prototype._onUploadComplete = function (httpRequ case 201: break; + case 500: + this.onError("File upload failed. Please try again."); + return; + default: this.onError("Unexpected file upload status " + status + " in Zotero.Sync.Storage._onUploadComplete()");