Nicer message on S3 file upload failure

This commit is contained in:
Dan Stillman 2009-12-14 10:07:55 +00:00
parent ef33984707
commit e5a8f94a9f

View File

@ -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()");