Thumbnail uploads: report file details (#628)

I'm leaving the generic "Unexpected JSON" error alone for now, as I think this should be fixed at Nick's end.
This commit is contained in:
infinite-persistence 2022-01-05 18:07:54 -08:00 committed by GitHub
parent 468cf866c3
commit 96c3b727fe
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -469,7 +469,8 @@ export const doUploadThumbnail = (
message = __('Thumbnail upload service may be down, try again later.');
}
uploadError(message);
const userInput = [fileName, fileExt, fileType, thumbnail];
uploadError(`${message}\nUser input: ${userInput.join(', ')}`);
});
};