Nicer message on S3 file upload failure
This commit is contained in:
parent
ef33984707
commit
e5a8f94a9f
|
@ -652,6 +652,10 @@ Zotero.Sync.Storage.Session.ZFS.prototype._onUploadComplete = function (httpRequ
|
||||||
case 201:
|
case 201:
|
||||||
break;
|
break;
|
||||||
|
|
||||||
|
case 500:
|
||||||
|
this.onError("File upload failed. Please try again.");
|
||||||
|
return;
|
||||||
|
|
||||||
default:
|
default:
|
||||||
this.onError("Unexpected file upload status " + status
|
this.onError("Unexpected file upload status " + status
|
||||||
+ " in Zotero.Sync.Storage._onUploadComplete()");
|
+ " in Zotero.Sync.Storage._onUploadComplete()");
|
||||||
|
|
Loading…
Reference in New Issue
Block a user