mirror of
https://github.com/zotero/zotero.git
synced 2026-10-09 03:18:01 +00:00
Nicer message on S3 file upload failure
This commit is contained in:
parent
ef33984707
commit
e5a8f94a9f
1 changed files with 4 additions and 0 deletions
|
|
@ -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()");
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue