From 50550bfa993b28f1c614b9a68c52b5ed770822e5 Mon Sep 17 00:00:00 2001 From: infinite-persistence Date: Thu, 6 Jan 2022 15:34:42 +0800 Subject: [PATCH] Thumbnail uploads: don't show the extra error info in the GUI --- ui/redux/actions/publish.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ui/redux/actions/publish.js b/ui/redux/actions/publish.js index 0761423c2..9e52d9a8c 100644 --- a/ui/redux/actions/publish.js +++ b/ui/redux/actions/publish.js @@ -476,7 +476,7 @@ export const doUploadThumbnail = ( } const userInput = [fileName, fileExt, fileType, thumbnail]; - uploadError(`${message}\nUser input: ${userInput.join(' | ')}`); + uploadError({ message, cause: `${userInput.join(' | ')}` }); }); };