Add retry message to publish error

This commit is contained in:
Sean Yesmunt 2021-01-08 16:38:01 -05:00 committed by GitHub
parent 7778896a64
commit 7c3ff32496
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -65,7 +65,7 @@ export default function apiPublishCallViaWeb(
}; };
xhr.onerror = () => { xhr.onerror = () => {
window.store.dispatch(doUpdateUploadProgress(undefined, params)); window.store.dispatch(doUpdateUploadProgress(undefined, params));
reject(new Error(__('There was a problem with your upload'))); reject(new Error(__('There was a problem with your upload. Please try again.')));
}; };
xhr.onabort = () => { xhr.onabort = () => {